[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
latest on sparc linking problems.
From: |
Riccardo Mottola |
Subject: |
latest on sparc linking problems. |
Date: |
Sat, 12 Apr 2003 17:50:38 +0200 |
User-agent: |
Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 |
Hello to all,
Adam was kindly helping me privatly but maybe it ias a good idea to post the
problems public, others could help, learn and maybe remove the bugs. I make
a small summary and explain the latest problem.
The problem is getting gnustep-gui linking with libtiff and then getting it
to run. SO I have concluded.
I use solaris 2.6 and gcc3.2 gotten as binary package from sun freeware..
I had to compile and install libtiff. I hope I mad it correctly. Anyway
xlib, tiff and jpeg now reside in /usr/local/lib
I had problems that during the linking stage of gnustep-gui several
references to TIFF calls were unresolved (even if libtiff was found from
configure).
adam suggested that I didn't have it in my path in first position, but I
have it, or better:
before sourcing gnustep I get:
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib:/usr/openwin/lib:/usr/lib
LD_RUN_PATH=/usr/local/lib
after:
LD_LIBRARY_PATH=/export/home/multix/GNUstep/Libraries/sparc/solaris2.6/gnu-g
nu-gnu:/export/home/multix/GNUstep/Libraries/sparc/solaris2.6:/usr/GNUstep/L
ocal/Libraries/sparc/solaris2.6/gnu-gnu-gnu:/usr/GNUstep/Local/Libraries/spa
rc/solaris2.6:/usr/GNUstep/Network/Libraries/sparc/solaris2.6/gnu-gnu-gnu:/u
sr/GNUstep/Network/Libraries/sparc/solaris2.6:/usr/GNUstep/System/Libraries/
sparc/solaris2.6/gnu-gnu-gnu:/usr/GNUstep/System/Libraries/sparc/solaris2.6:
/usr/local/lib:/usr/local/ssl/lib:/usr/openwin/lib:/usr/lib
LD_RUN_PATH=/usr/local/lib
it is still there, but not in the first position.
I solved the linking problems by following two suggestion Adam gave me:
I used:
./configure --with-tiff-library=/usr/local/lib
--with-jpeg-library=/usr/local/lib
and modified gui.make to
GUI_LDFLAGS = -L/usr/local/lib
GUI_LIBS = -lgnustep-gui -ltiff -ljpeg -lz
(adam suggested
GUI_LIBS = -lgnustep-gui -L/usr/local/lib -ltiff -ljpeg -lz
which didn't work strangely enough).
Anyway after this finally the whole thing linked.
afterwards I compiled the rest and compiled GShisen game, to try one of the
simplest applications!
I get an unresolved simbol when I attempt to run it:
$ openapp GShisen
2003-04-12 17:51:14.025 GShisen[321] Unable to initialize XIM, using
standard keyboard events
ld.so.1:
/export/home/multix/GShisen/GShisen.app/sparc/solaris2.6/gnu-gnu-gnu/GShisen
: fatal: relocation error: file
/usr/GNUstep/System/Libraries/sparc/solaris2.6/gnu-gnu-gnu/libgnustep-gui.so
.0: symbol TIFFClientOpen: referenced symbol not found
Killed
Any help? I hope I am "close" to get GNUstep running...
-riccardo
- latest on sparc linking problems.,
Riccardo Mottola <=