Page 1 of 1

libgconf-2.la error [SOLVED]

Posted: 10. Feb 2016, 12:11
by rsal
I tried to install package aeskulap using spi command and it ended with following error:

Code: Select all

...
...
grep: /usr/lib/libgconf-2.la: No such file or directory
/usr/bin/sed: can't read /usr/lib/libgconf-2.la: No such file or directory
libtool: link: `/usr/lib/libgconf-2.la' is not a valid libtool archive
make[2]: *** [libconfiguration.la] Error 1
make[2]: Leaving directory `/usr/src/slapt-src/graphics/aeskulap/aeskulap-0.2.2-beta1/configuration'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/slapt-src/graphics/aeskulap/aeskulap-0.2.2-beta1'
make: *** [all] Error 2
fakeroot -- sh aeskulap.SlackBuild Failed
I tried to search on net and found this page http://www.linuxquestions.org/questions ... 931-print/ but could not solve my problem. This page http://rpmfind.net/linux/rpm2html/searc ... tem=&arch= showed that libGConf2-devel may help but this is not available in Salix. How can I solve this problem?

Re: libgconf-2.la error

Posted: 10. Feb 2016, 19:34
by gapan
Here you go: http://pnboy.pinguix.com/gapan/salix/aeskulap/

This is a stupid problem with .la files, which are useless these days, yet so much software insists on installing them. Slackware started removing them, but they didn't remove all of them, so sometimes you get problems like this. The "fix" is to completely remove .la files (temporarily if you like). You can do it like this:

Code: Select all

find /usr/lib -name "*.la" -exec sudo rename ".la" ".la.bak" {} \;
after the software builds, you can bring them back with:

Code: Select all

find /usr/lib -name "*.la.bak" -exec sudo rename ".la.bak" ".la" {} \;
If you want to completely delete them instead:

Code: Select all

find /usr/lib -name "*.la" -delete

Re: libgconf-2.la error

Posted: 11. Feb 2016, 11:57
by rsal
Yes it worked. Thanks.