On Tuesday, Oct 7, 2003, at 21:21 Europe/Brussels, Roy Mendelssohn wrote:


Thanks for the suggestion; however, I got the exact error. I did:

fink remove netpbm netpbm10

and then updated a got the same missing symbols error from ld as given below.
cc -no-cpp-precomp -L/sw/lib -o pnmtopng pnmtopng.o pngtxt.o \
`/sw/src/netpbm10-10.18-1/netpbm-10.18/buildtools/libopt /sw/src/netpbm10-10.18-1/netpbm-10.18/lib/libnetpbm.dylib libpng.dylib libz.dylib` \
-lm
libopt results: ' -L/sw/src/netpbm10-10.18-1/netpbm-10.18/lib -lnetpbm -lpng -lz'
ld: Undefined symbols:
_pm_seek2
_pm_tell2

Are you sure your remove of netpbm10 went OK ? Check if you still have a /sw/lib/libnetpbm.dylib.

Else I give up :
Those symbols ARE defined in /sw/src/netpbm10-10.18-1/netpbm-10.18/lib/libnetpbm.dylib _
and are NOT in /sw/lib/libnetpbm.10.12.dylib
So with the flag -L/sw/lib coming before the "libopt results"
-L/sw/src/netpbm10-10.18-1/netpbm-10.18/lib -lnetpbm
if you have the link libnetpbm.dylib -> libnetpbm.10.12.dylib in /sw/lib (link installed
by the previous version of netpbm10 _ the new version installs copies instead of symlinks),
it is that libnetpbm.dylib which will be found and the symbols will be undefined,
while otherwise things must go right.


JF Mertens



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to