| Summary: | Missing dependancy from games-strategy/ufo2000 prevents running | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Salim Fadhley <sal> |
| Component: | New packages | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2004.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Output of `emerge ufo2000` | ||
|
Description
Salim Fadhley
2004-06-27 12:29:02 UTC
What's the output of `which ufo2000` ? sal@chico sal $ which ufo2000 /usr/games/bin/ufo2000 sal@chico sal $ The deps seem fine in the ebuild. Try remerging ufo2000 please. Un-merging and then re-emerging produces exactly the same output - program fails to run due to a missing lib. Created attachment 34358 [details]
Output of `emerge ufo2000`
Does revdep-rebuild -p do anything for you? What exactly is libNL anyway? :-) --- sal@chico sal $ sudo /usr/bin/revdep-rebuild -p Password: Checking reverse dependencies... Packages containing binaries and libraries broken by any package update, will be recompiled. Collecting system binaries and libraries... done. (/home/sal/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/home/sal/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... done. (/home/sal/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... Nothing to rebuild Evaluating package order... done. (/home/sal/.revdep-rebuild.5_order) Dynamic linking on your system is consistent... All done. sal@chico sal $ the NL stuff is from hawknl. Try remerging it and see if that helps. If it doesn't, please post the output of `ls -l /usr/lib/*NL*` I would say thuis actually looks like a discrpancy between the hawknl ebuild and ufo2000, all it took to get it working was this: sudo ln -sf libNL.so.1.6.8 NL.so.1.6 --- As requested: sal@chico sal $ sudo emerge hawknl Password: Calculating dependencies ...done! >>> emerge (1 of 1) dev-games/hawknl-1.68 to / >>> md5 src_uri ;-) HawkNL168src.tar.gz >>> Unpacking source... >>> Unpacking HawkNL168src.tar.gz to /var/tmp/portage/hawknl-1.68/work >>> Source unpacked. cd src;\ make -f makefile.linux make[1]: Entering directory `/var/tmp/portage/hawknl-1.68/work/hawknl1.68/src' gcc -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT -c -o crc.o crc.c gcc -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT -c -o errorstr.o errorstr.c gcc -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT -c -o nl.o nl.c gcc -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT -c -o sock.o sock.c gcc -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT -c -o group.o group.c gcc -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT -c -o loopback.o loopback.c gcc -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT -c -o err.o err.c loopback.c: In function `loopback_getNextPort': loopback.c:60: warning: comparison is always false due to limited range of data type gcc -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT -c -o thread.o thread.c gcc -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT -c -o mutex.o mutex.c nl.c: In function `nlSwapf': nl.c:1836: warning: dereferencing type-punned pointer will break strict-aliasing rules nl.c:1838: warning: dereferencing type-punned pointer will break strict-aliasing rules gcc -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT -c -o condition.o condition.c gcc -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT -c -o nltime.o nltime.c gcc -o libNL.so.1.6.8 crc.o errorstr.o nl.o sock.o group.o loopback.o err.o thread.o mutex.o condition.o nltime.o -shared -Wl,-soname,NL.so.1.6 -rdynamic -lpthread -Wall -fPIC -I../include -march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx -D_GNU_SOURCE -D_REENTRANT ar cru libNL.a crc.o errorstr.o nl.o sock.o group.o loopback.o err.o thread.o mutex.o condition.o nltime.o ranlib libNL.a make[1]: Leaving directory `/var/tmp/portage/hawknl-1.68/work/hawknl1.68/src' >>> Install hawknl-1.68 into /var/tmp/portage/hawknl-1.68/image/ category dev-games cd src;\ make -f makefile.linux install make[1]: Entering directory `/var/tmp/portage/hawknl-1.68/work/hawknl1.68/src' cp libNL.so.1.6.8 /var/tmp/portage/hawknl-1.68/image//usr/lib cp libNL.a /var/tmp/portage/hawknl-1.68/image//usr/lib chmod 755 /var/tmp/portage/hawknl-1.68/image//usr/lib/libNL.so.1.6.8 ln -s /var/tmp/portage/hawknl-1.68/image//usr/lib/libNL.so.1.6.8 /var/tmp/portage/hawknl-1.68/image//usr/lib/libNL.so.1.6 ln -s /var/tmp/portage/hawknl-1.68/image//usr/lib/libNL.so.1.6.8 /var/tmp/portage/hawknl-1.68/image//usr/lib/libNL.so.1 ln -s /var/tmp/portage/hawknl-1.68/image//usr/lib/libNL.so.1.6.8 /var/tmp/portage/hawknl-1.68/image//usr/lib/libNL.so ln -s /var/tmp/portage/hawknl-1.68/image//usr/lib/libNL.so.1.6.8 /var/tmp/portage/hawknl-1.68/image//usr/lib/NL.so cp ../include/nl.h /var/tmp/portage/hawknl-1.68/image//usr/include/nl.h chmod 644 /var/tmp/portage/hawknl-1.68/image//usr/include/nl.h make[1]: Leaving directory `/var/tmp/portage/hawknl-1.68/work/hawknl1.68/src' man: prepallstrip: strip: strip: usr/lib/libNL.so.1.6.8 making executable: /usr/lib/libNL.so.1.6.8 >>> Completed installing into /var/tmp/portage/hawknl-1.68/image/ ./ ./usr/ ./usr/include/ ./usr/include/nl.h ./usr/lib/ ./usr/lib/libNL.so.1.6.8 ./usr/lib/libNL.a ./usr/lib/libNL.so.1.6 ./usr/lib/libNL.so.1 ./usr/lib/libNL.so ./usr/lib/NL.so >>> Done. >>> extracting info >>> extracting hawknl-1.68 >>> Merging dev-games/hawknl-1.68 to / --- /usr/ --- /usr/include/ >>> /usr/include/nl.h --- /usr/lib/ >>> /usr/lib/libNL.so.1.6.8 >>> /usr/lib/libNL.a >>> /usr/lib/libNL.so.1.6 -> libNL.so.1.6.8 >>> /usr/lib/libNL.so.1 -> libNL.so.1.6.8 >>> /usr/lib/libNL.so -> libNL.so.1.6.8 >>> /usr/lib/NL.so -> libNL.so.1.6.8 >>> Safely unmerging already-installed instance... --- !mtime obj /usr/lib/libNL.so.1.6.8 --- !mtime obj /usr/lib/libNL.a --- !mtime obj /usr/include/nl.h --- !empty dir /usr/lib --- !empty dir /usr/include --- !empty dir /usr --- !targe sym /usr/lib/libNL.so.1.6 --- !targe sym /usr/lib/libNL.so.1 --- !targe sym /usr/lib/libNL.so --- !targe sym /usr/lib/NL.so >>> original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... >>> dev-games/hawknl-1.68 merged. >>> Recording dev-games/hawknl in "world" favorites file... >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. * IMPORTANT: 1 config files in /etc need updating. * Type emerge --help config to learn how to update config files. sal@chico sal $ ufo2000 ufo2000: error while loading shared libraries: NL.so.1.6: cannot open shared object file: No such file or directory sal@chico sal $ ls -l /usr/lib/*NL* lrwxrwxrwx 1 root root 14 Jun 29 10:02 /usr/lib/NL.so -> libNL.so.1.6.8 -rw-r--r-- 1 root root 79228 Jun 29 10:02 /usr/lib/libNL.a lrwxrwxrwx 1 root root 14 Jun 29 10:02 /usr/lib/libNL.so -> libNL.so.1.6.8 lrwxrwxrwx 1 root root 14 Jun 29 10:02 /usr/lib/libNL.so.1 -> libNL.so.1.6.8 lrwxrwxrwx 1 root root 14 Jun 29 10:02 /usr/lib/libNL.so.1.6 -> libNL.so.1.6.8 -rwxr-xr-x 1 root root 54024 Jun 29 10:02 /usr/lib/libNL.so.1.6.8 sal@chico sal $ hawknl-1.68-r1 should fix the issue. Running ldconfig as root might fix it as well, but the hawknl ebuild should own that symlink anyhow. Reopen if it's still a problem. |