Ir al contenido principal.
Enlaces relacionados:  Prensa  Compañía  Clientes  Contáctenos


php on unix

Autor Mensaje
Escrito en: 17. 02. 2004 [18:46]
Autor del tema
registrado desde: 31.12.1969
Entradas: 0
Please help me!

I have a UNIX Solaris server ver. 5.8
and I treated to install php-isis but an error occur
(I am attaching the report error)
¿Some body can help me?
I'll apreciate it so much.

This is the error
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.

make shared
gcc -shared -Wl,-init,openIsisInit,-fini,openIsisFini -o
sto/ st
o/lstr.o sto/ldb.o sto/lrec.o sto/lfmt.o sto/luti.o sto/lio.o sto/lqry.o
.o sto/lcs.o sto/lses.o sto/lfdt.o sto/lstb.o sto/ldsp.o sto/ldss.o
sto/lcli.o s
to/lenc.o sto/leva.o
/usr/ccs/bin/ld: illegal option -- n
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:Bicon_biggrin.gif:F:GI:L:M:Nicon_razz.gif:Q:R:S:VY:?]
[-64] enforce a 64-bit link-edit
[-a] create an absolute file
[-b] do not do special PIC relocations in a.out
[-c file] record configuration `file'
[-d y|n] operate in dynamic|static mode
[-e sym] use `sym' as entry point address
[-f name] specify library for which this file is an auxiliary
[-h name] use `name' as internal shared object identifier
[-i] ignore LD_LIBRARY_PATH setting
[-l x] search for or libx.a
[-m] print memory map
[-o outfile] name the output file `outfile'
[-p name] identify audit object to accompany this object
[-r] create a relocatable object
[-s] strip any symbol and debugging information
[-t] do not warn of multiply-defined symbols that have
different sizes or alignments
[-u sym] create an undefined symbol `sym'
[-z absexec] when building an executable absolute symbols
referenced in dynamic objects are promoted to
the executable
[-z now] mark object as requiring non-lazy binding
[-z defs|nodefs]
disallow|allow undefined symbols
[-z endfiltee] marks a filtee such that it will terminate a filters
ignore|record unused dynamic dependencies
[-z initfirst] mark object to indicate that its .init section
be executed before the .init section of any other
[-z loadfltr] mark filter as requiring immediate loading of its
filtees at runtime
[-z interpose] dynamic object is to be an `interposer' on
direct bindings
[-z lazyload|nolazyload]
enable|disable delayed loading of shared objects
[-z muldefs] allow multiply-defined symbols
[-z nodefaultlib]
mark object to ignore any default library search
[-z nodelete] mark object as non-deletable
[-z nodlopen] mark object as non-dlopen()'able
[-z nodump] mark object as non-dldump()'able
[-z nopartial] expand any partially initialized symbols
[-z noversion] don't record any version sections
[-z origin] mark object as requiring $ORIGIN processing
[-z redlocsym] reduce local syms in .symtab to a minimum
[-z text] disallow output relocations against text
[-z textwarn] warn if there are relocations against text
[-z textoff] allow output relocations against text
[-z verbose] generate warnings for suspicious processings
[-z weakextract]
allow extraction of archive members to resolve weak
[-z allextract] extract all member files from archive files
[-z defaultextract]
extract member files from archive files
which resolve undefined or tentative symbols
[-z combreloc] combine multiple relocation sections
[-B dynamic|static]
search for shared libraries|archives
[-B group] relocate object from within group
[-B eliminate] eliminate unqualified global
symbols from the symbol table
[-B local] reduce unqualified global symbols to local
[-B reduce] process symbol reductions
[-B symbolic] bind external references to definitions when
shared objects
[-B direct] specify `direct' bindings for executable when run
[-D options] print diagnostic messages
[-F name] specify library for which this file is a filter
[-G] create a shared object
[-I interp] use `interp' as path name of interpreter
[-L path] search for libraries in directory `path'
[-M mapfile] use processing directives contained in `mapfile'
[-N file] create a dynamic dependency on `file'
[-P name] identify audit object for processing the
of this object
[-Q y|n] do|do not place version information in output file
[-R path] specify a library search path to be used at run time
[-S name] specify a link-edit support library
[-V] print version information
[-Y P,dirlist] use `dirlist' as a default path when searching for
collect2: ld returned 1 exit status
make: *** [sto/] Error 1

Posted to Phorum via PhorumMail
Escrito en: 18. 02. 2004 [05:28]
Klaus Ripke
registrado desde: 31.12.1969
Entradas: 0

the problem is known, it is due to the Solaris linker
not supporting the -init and -fini options.
These are used to name functions that are to
be called when the shared object is loaded
and unloaded, resp.

Possible solutions:
a) edit the Makefile and
try to build without "-Wl,-init,openIsisInit,-fini,openIsisFini".
It might work since, AFAIK, the initialisation is called
explicitly from the PHP module and the finalisation is
not strictly needed for read-only databases.
b) try to get or build a GNU linker and a gcc using it
c) try to figure out the proper options for the solaris linker.
The ld manpage there mentions an "-z initarray=3Dfunction"
option, which might do the job.
d) Wait just a few more weeks for our server-based
release, which will need no module loaded in PHP.
Info on this is available at

On Wednesday 18 February 2004 00:46, Ramón Genel Gómez wrote:
> gcc -shared -Wl,-init,openIsisInit,-fini,openIsisFini -o
> /usr/ccs/bin/ld: illegal option -- n


Posted to Phorum via PhorumMail

Iniciar sesión de usuario

Introduzca su nombre de usuario y contraseña para iniciar su sesión en el sitio web:
Iniciar sesión

¿Ha olvidado su contraseña?

Copyright © 2003-2009, Solsoft de Costa Rica S.A.
Declaración de privacidad