On Monday, November 24, 2003, at 12:07 PM, Niklas Saers Mailinglistaccount wrote:
Hi Martin and Alexander,
Then you also have a non-standard version of tar (probably in /usr/local/bin ?) You can expect non-standard behavior from this, too.
Checking, I have /sw/bin/tar, /usr/bin/tar and /usr/local/bin/tar. *sigh*
The tar called (which tar) was /sw/bin/tar which again is a symlink to
gtar.
My next question should be: any spring-cleaning facilities available for
OS X beyond format&reinstall?
You shouldn't need that. Removing /sw will do the job for all Fink-related stuff.
The problem is that this libgcc.dylib that was installed by some
application for its own purposes, is not compatible with the version of
OSX you are running, at least not if you want to compile anything. You
want to run that application and its tools that it installed into
/usr/local, or you want to compile? The choice is yours
Right, seeing that /sw/bin/gtar was uncompatible with the rest of fink,
and all in /sw should be from fink, and finding out that fink was out of
date, I've removed /sw and reinstalled fink, added the unstable & crypto,
and done a self-update and update-all (big surprise, nothing to update ;)
)
Now, during all links, it fails in the linker. Any ideas why? Doing "fink install links" I get:
gcc -g -O2 -L/sw/lib -o links af_unix.o beos.o bfu.o bookmarks.o cache.o charsets.o connect.o cookies.o default.o dns.o error.o file.o finger.o ftp.o html.o html_r.o html_tbl.o http.o https.o kbd.o kbdbind.o language.o mailto.o main.o menu.o os_dep.o sched.o select.o session.o terminal.o types.o url.o view.o win32.o -ldl
ld: warning prebinding disabled because dependent library: /sw/lib/libdl.0.dylib is not prebound
ld: Undefined symbols:
___divdi3
make: *** [links] Error 1
### execution of make failed, exit code 2
Failed: compiling links-0.98-1 failed
Do you still have /usr/local/lib/libgcc.dylib hanging around? You may want to try renaming all of /usr/local temporarily in any case--it may be that the compiler is grabbing the wrong version of some library.
Going to the example of evolution, it cannot find evolution-1.2.4 at
distfiles.opendarwin.org. Not very strange as 1.4.5 or so is out, but
since the port updated from cvs, I expected it would use the new source.
Oh well, I shan't be picky: anywhere I can find the old source?
Alltheweb's ftpsearch gave up on me.
It's still around on the gnome mirrors. Actually, by rights, it should be at distfiles.opendarwin.org, since that's a master mirror for everything current. 1.2.4 is the latest available on Fink--the package descriptions don't auto-update to grab the latest versions. This is not all bad--sometimes the patching scheme needed to port the package has to change for new versions.
Going through the next two on my wish-list, nautilus gives me the following when installing audiofile:
/bin/sh ../libtool --mode=link gcc -DNDEBUG -g -O2 -L/sw/lib -o
libaudiofile.la -rpath /sw/lib -version-info 0:2:0 openclose.lo setup.lo
format.lo data.lo pcm.lo error.lo byteorder.lo af_vfs.lo util.lo aupv.lo
units.lo compression.lo aes.lo instrument.lo loop.lo marker.lo misc.lo
track.lo query.lo raw.lo aiff.lo aiffwrite.lo extended.lo next.lo
nextwrite.lo wave.lo wavewrite.lo ircam.lo ircamwrite.lo g711.lo
modules.lo modules/libmodules.la -lm
rm -fr .libs/libaudiofile.la .libs/libaudiofile.* .libs/libaudiofile.*
gcc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libaudiofile.0.0.2.dylib openclose.lo setup.lo format.lo data.lo
pcm.lo error.lo byteorder.lo af_vfs.lo util.lo aupv.lo units.lo
compression.lo aes.lo instrument.lo loop.lo marker.lo misc.lo track.lo
query.lo raw.lo aiff.lo aiffwrite.lo extended.lo next.lo nextwrite.lo
wave.lo wavewrite.lo ircam.lo ircamwrite.lo g711.lo modules.lo -all_load
modules/.libs/libmodules.al -L/sw/lib -lm -lc -install_name
/sw/lib/libaudiofile.0.dylib -compatibility_version 1 -current_version 1.2
ld: warning -dylib_install_name /sw/lib/libaudiofile.0.dylib not found in
segment address table LD_SEG_ADDR_TABLE
/sw/var/lib/fink/prebound/seg_addr_table
ld: warning -undefined suppress disables -prebind
ld: pcm.lo has external relocation entries in non-writable section
(__TEXT,__text) for symbols:
restFP
saveFP
/usr/bin/libtool: internal link edit command failed
make[3]: *** [libaudiofile.la] Error 1
This looks like the libgcc.dylib problem again
and gqview gives me in freetype:
gcc -dynamiclib -flat_namespace -undefined suppress -o
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/.libs/ libfreetype.6.3.2.dylib
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftsystem.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftdebug.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftinit.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftbase.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftglyph.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftmm.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftbdf.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/fttype1.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftxf86.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftpfr.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftbbox.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/autohint.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/bdf.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftcache.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/cff.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/type1cid.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftgzip.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/pcf.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/pfr.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/psaux.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/pshinter.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/psnames.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/raster.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/sfnt.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/smooth.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/truetype.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/type1.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/type42.lo
/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/winfnt.lo -lc -install_name
/sw/lib/libfreetype.6.dylib -compatibility_version 10 -current_version
10.2
ld: warning -dylib_install_name /sw/lib/libfreetype.6.dylib not found in
segment address table LD_SEG_ADDR_TABLE
/sw/var/lib/fink/prebound/seg_addr_table
ld: warning -undefined suppress disables -prebind
ld: /sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/ftbase.lo has external
relocation entries in non-writable section (__TEXT,__text) for symbols:
restFP
saveFP
Once again, this error is usually associated with libgcc.dylib
/usr/bin/libtool: internal link edit command failed
make: *** [/sw/src/freetype2-2.1.3-1/freetype-2.1.3/objs/libfreetype.la]
Error 1
### execution of failed, exit code 2
Failed: compiling freetype2-2.1.3-1 failed
In all examples, when asked what dependency I want, I've opted for the xft1 version (I run X 4.2.1), libgif and ssl.
Cheers
Nik
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
