-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello Don,

recently i had a similar problem - try using GNU ld - that fixed the
problem for me. you can find it in the binutils package:
http://www.gnu.org/directory/binutils.html

/usr/local/lib and /opt/sfw/gcc-3/lib should be before /usr/lib and /lib
in your LD_LIBRARY_PATH, also /usr/local/bin or wherever you put the ld
binary should be before /usr/ccs/bin in your PATH variable.
it is also a good idea to use GNU make.

hope this helps,

Stoyan

Don Wolski wrote:

| Hi.  I'm trying to build and install some Free/OpenSource software
| (mapserver) that is packaged with GNU's automake, but it is failing
| in a way that I think is Solaris-specific.  It seems to be unable to
| resolve a bunch (13,000) symbols, including ones that should be in the
| std libs.  I've forced the c++ command (which the package's makefile
| uses to invoke ld) to look every lib directory I could think of, but
| the results are the same.  Should I be specifying /usr/lib before
| /opt/sfw/gcc-3/lib?  Should I be using gcc 2.95.3?  Do I need to
| install a libc in addition to /usr/lib/libc*?  Am I completly off-base
| about what the error msg means?
|
| The symptom of my problem is that I get the message "ld: fatal:
| relocations remain against allocatable but non-writable sections"
| when the package's Makefile uses c++ to build a shared library after
| compiling the .o's.
|
| The system I am using is complete Solaris 9 (12/03 update, w/
| recommended patches as of Feb 9) plus the Companion Disk (a bunch
| of GNU and other F/OSS which get installed in /usr/sfw and /opt/sfw,
| and which Sun compiles with its proprietary compilers).
|
| I do not have the Sun proprietary compilers, and am using gcc 3.3 instead.
|
| /usr/local is a symlink to /opt/local.
|
| Thanks for taking the time to look at this.
| /don
<snip>


-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQE6yJwYfcoPsD0o3AQL3Nw//Tgl7eYFb3C+yB/XNLzFX4v7PfbEKcDmt
TiMdLG6kRyH/oq4cVStsthrRCBOerh3OoHnyxBRQSi3QBOIpu31SP3Zv36aoVjym
7Z389Zpe+jmHn9qFgOlqu28gBIC3KRXYTRE7sfXFFUXawMy1Za4FowWJecWneMmw
mGUrC5I12w4c2BNh2JVr0fV4pam+uXl+65D6Ok8yF2r9tEQS6xW2QJDfxxFq1BzW
MkM2xXxHgtzPiawGjBue0C/ZqHGM7dUeKFwcKGj3/cNHOZgmdnBZ5cmZYd6sJDqq
hWVCoGZEFBVRw65OJO3b+Y5u5f4+2Ep/S6tzPqrfkMZgymmRYnk63eR+s/FIZHUU
bgedBsX2tQqOoQ4NkIXL4gaIoR72AZHGlURaUb6rQvpVKt+nVZMfWNbx3cIX7AbE
5ULY4kek4zX3lL/z1m/BcTFReXHDP3f1N1z1MDXTAqU9fdZdZDBcD9+iJ+GJ53Gl
FfUu3x+VjmQgPGe1b9rvoxXc4Hn08DR5AoGz1SpKJynL47g+8P3e+VzJXWaAy9ST
TNN0F4qCBRZxyw+IVov0x90N+kKYxAOYj84M8vieBDWBAOf12XkfTBrceKnnnEfB
s+DhDntnSbryT1EKZuN9tDAXjnKP0iXcJYT3rx0i3iwEtATH77b2ETzouwM57Oyy
/zlkyXcBWX0=
=yWvo
-----END PGP SIGNATURE-----

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to