On Apr 8, 2004, at 4:33 AM, Stefano wrote:


The final error message is:

/usr/bin/install -d -m 755 /sw/src/root-libmng2-shlibs-1.0.6-1/sw/lib
/bin/mv /sw/src/root-libmng2-1.0.6-1/sw/lib/libmng.*.dylib
/sw/src/root-libmng2-shlibs-1.0.6-1/sw/lib/
mv: rename /sw/src/root-libmng2-1.0.6-1/sw/lib/libmng.*.dylib to
/sw/src/root-libmng2-shlibs-1.0.6-1/sw/lib/libmng.*.dylib: No such file or
directory
### execution of /bin/mv failed, exit code 1
Failed: installing libmng2-shlibs-1.0.6-1 failed


Earlier on there was the following warning:

gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libmng.1
...
/sw/lib/liblcms.dylib -install_name /sw/lib/libmng.1
-compatibility_version 2 -current_version 2.0
ld: warning -dylib_install_name /sw/lib/libmng.1 not found in segment
address table LD_SEG_ADDR_TABLE /sw/var/lib/fink/prebound/seg_addr_table
ld: warning -undefined suppress disables -prebind

The warning is innocuous, but the problem is indeed here: you should have instead
-o .libs/libmng.1.0.0.dylib
and
-install_name /sw/lib/libmng.1.dylib


No idea where this comes from _ something went seriously bad in your configure ...
Could you check whether the command just before was indeed :


/bin/sh ./libtool --mode=link gcc -g -O2 -L/sw/lib -o libmng.la -rpath /sw/lib -version-info 1:0:0 libmng_callback_xs.lo libmng_chunk_io.lo libmng_chunk_prc.lo libmng_chunk_xs.lo libmng_cms.lo libmng_display.lo libmng_dither.lo libmng_error.lo libmng_filter.lo libmng_hlapi.lo libmng_jpeg.lo libmng_object_prc.lo libmng_pixels.lo libmng_prop_xs.lo libmng_read.lo libmng_trace.lo libmng_write.lo libmng_zlib.lo -lz -ljpeg -llcms

and the following lines in configure _ if any of them is different,
try to see why in the file /sw/src/libmng2-1.0.6-1/libmng-1.0.6/config.log :


checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... darwin7.2.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... darwin7.2.0 dyld
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fno-common
checking if g77 PIC flag -fno-common works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... darwin7.2.0 dyld



JF Mertens




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to