The clanlib libs are installed in a non-standard location (/usr/lib/clanlib), but the ebuild doesn't set an ld-path, so programs built with a clanlib library can't be run by default. I will submit a patch to fix this.
Created attachment 18856 [details, diff] Patch to fix the problem
links are created for the libraries ... what version of clanlib are you using ?
I'm using 0.7.3. Looking at the ebuilds and in /usr/lib, I can't understand where the files are supposed to be, are you really sure that links are created somewhere?
err it used to ... seems karl's version bump broke this ...
ok i ver bumped to 0.7.4 and re-instated the 0.7.2 way of SLOT-ing things you should be all set now (after you update to 0.7.4 and clean out 0.7.3 that is)
Hmm, looks like I failed to explain what the bug was about, or I'm just incredibly stupid, because I can't see how this would be fixed with the new ebuild. I am developing a small game, and to link it I have to provide -L/usr/lib/clanlib-0.7.4, and there's no problem there, but when I run it, I get an error complaining that libClanCore can't be found, which is expected, since it is installed in an non-standard location, and there isn't an LDPATH set in /etc/env.d which contains /usr/lib/clanlib-0.7.4. So you can't run programs linked to clanlib without modifying the system. So I guess the solution would be to either use the patch I attached, or install the clanlib libs in /usr/lib. Hope I managed to explain what I want, as I'm not really sure about the terminology used here.
i know exactly what you're talking about and i said you shouldnt have to the package creates symlinks in /usr/lib to the libraries in clanlib-0.7.4 ... the reason for this is to SLOT clanlib 0.6.x and 0.7.x ... root@vapier 0 root # readlink /usr/lib/libclanCore.a /usr/lib/clanlib-0.7.4/libclanCore.a root@vapier 0 root # readlink /usr/lib/libclanCore.so /usr/lib/clanlib-0.7.4/libclanCore.so
Strange, I don't have those files... local root # ls /usr/lib/libclan* ls: /usr/lib/libclan*: No such file or directory
Oh, finally understanding what the problem is :-) When I tried to unmerge both 0.7.3 and 0.7.4 and the emerge 0.7.4 again I saw this at the end: >>> /usr/share/doc/clanlib-0.7.4/README.distros.gz >>> /usr/share/doc/clanlib-0.7.4/README.kdevelop.gz >>> /usr/share/doc/clanlib-0.7.4/README.upgrade.gz ***************** /usr/sbin/ebuild.sh: line 63: clanlib-config: command not found ***************** >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... [ ok ] >>> dev-games/clanlib-0.7.4 merged. >>> Recording dev-games/clanlib in "world" favorites file... >>> clean: No packages selected for removal. >>> Regenerating /etc/ld.so.cache... Appearantly the ebuild requires an old and working clanlib, which installed clanlib-config to be installed previously... (I apologize if I should have opened a new bug instead)
ah, i missed that ... karl's upgrade to 0.7.3 removed the dobin cmd and i forgot to add it back in ... fixed in cvs ... just do this so you dont have to re-emerge the pkg: cp /usr/portage/dev-games/clanlib/files/clanlib-config /usr/bin/ clanlib-config 0.7.4