On Nov 8, 2004, at 3:07 PM, Falko A. wrote:
Hi,
I already asked this at the fink-users list, but nobody replied... Maybe you can help me, thx.
I tried to figure out how to create fink packages by creating one for the
jack-audio-connection kit (I know there's a separate os x version...)
The package compiled and installed almost fine, but other programs seemed to link
to the library version in the source directory (/sw/src...), so I removed my
test package again using the fink remove <mypackagename> command.
It didn't complain about any errors, but now I can't compile the new version
of kdelibs3, cause it tries to link against the (non existent) jack library.
The error msg. I'm getting is:
<...>
flex/lib -o libartskde.la -rpath /sw/lib -L/sw/lib/flex/lib -L/sw/lib -L/usr/X11R6/lib -no-undefined -version-info 3:0:2 libartskde_la.all_cc.lo libartskde_la.all_cpp.lo ../../kio/libkio.la -lqtmcop -lsoundserver_idl -L/sw/lib -L/usr/X11R6/lib
grep: /sw/src/root-jack-0.99.0-1/sw/lib/libjack.la: No such file or directory
sed: /sw/src/root-jack-0.99.0-1/sw/lib/libjack.la: No such file or directory
libtool: link: `/sw/src/root-jack-0.99.0-1/sw/lib/libjack.la' is not a valid libtool archive
make[3]: *** [libartskde.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
NAME-3.3.1-22 make-build failed!
### execution of /var/tmp/tmp.1.tr0BfH failed, exit code 1
Failed: compiling kdelibs3-3.3.1-22 failed
I removed all the jack files in my fink installation.
"sudo find / -name "*jack*" -print" doesn't show any files, too.
How can I tell the system that there's no jack lib?
Does libtool have something like a database of installed libraries that has to be refreshed?
Before installing my package, it was validated...
Maybe you could also tell me where the bug in my test package might be?
Thanks in advance Falko
It looks like something you built linked to /sw/src/root-jack-0.99.0-1/sw/lib/libjack.la, which only existed temporarily if you didn't have Fink set to keep the root directory.
You may need to go into /sw/lib and run
otool -L * | grep jack
to see where the extraneous linkage is. You may need to check the subdirectories.
-- Alexander K. Hansen Associate Research Scientist, Columbia University visiting MIT Plasma Science and Fusion Center Levitated Dipole Experiment 175 Albany Street, NW17-219 Cambridge, MA 02139-4213
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel