LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Akonadi - shared library error (https://www.linuxquestions.org/questions/slackware-14/akonadi-shared-library-error-776749/)

JokerBoy 12-18-2009 02:50 PM

Akonadi - shared library error
 
1 Attachment(s)
i just finished to make a fresh install of -current using a usb stick, all things are good, except the fact that akonadi server self-test appears every time i login, after a few relogins and reboots seeing that will not disappear i checked the .xsession-errors file from $HOME and i notice something strange:

Code:

/usr/bin/akonadi_control: error while loading shared libraries: libboost_program_options-mt.so: cannot open shared object file: No such file or directory
i checked http://slackware.com/changelog/current.php?cpu=x86_64 and it seems boost was upgraded. maybe akonadi needs a library that the new version of boost doesn't have anymore? :) i hope Pat find a fix to this cuz is very annoying that pop-up.. :banghead:

Edit later:

Code:

# locate libboost_program_options
/usr/lib64/libboost_program_options.so
/usr/lib64/libboost_program_options.so.1.41.0

lol, i kinda fix it myself..

Code:

# cd /usr/lib64/
# cp libboost_program_options.so.1.41.0 libboost_program_options-mt.so.1.41.0
# ln -s libboost_program_options-mt.so.1.41.0 libboost_program_options-mt.so

now that pop-up has disappeared.. :)

sahko 12-18-2009 04:56 PM

Thats a bad way to fix it.
FWIW i told Pat about it right after i upgraded so it should be fixed properly soon.

JokerBoy 12-18-2009 05:07 PM

bad or not, it works for now :) i`m waiting for a rebuilt of akonadi, or boost to make things work properly.

why did i copy and make a symlink adding a "-mt"? i checked the boost package from another distro (arch), and the libboost_program_options.so.1.41.0 file was identical with the libboost_program_options-mt.so.1.41.0 file. i`m not a developer, but that must mean something :)

Didier Spaier 12-18-2009 05:15 PM

"removepkg akonadi" will do ;)

~sHyLoCk~ 12-18-2009 07:24 PM

Quote:

Originally Posted by Didier Spaier (Post 3797297)
"removepkg akonadi" will do ;)

That's what I have been doing since 4.2.4 :D

Regards

sahko 12-18-2009 07:54 PM

Seems that the boost script needs to change --layout=system to --layout=tagged

Quote:

Originally Posted by http://repos.archlinux.org/wsvn/packages/boost/repos/extra-x86_64/PKGBUILD
# --layout=tagged will add the "-mt" suffix for multithreaded libraries
# and installs includes in /usr/include/boost.
# --layout=system no longer adds the -mt suffix for multi-threaded libs.


rworkman 12-18-2009 08:14 PM

Perhaps I'm missing something, but aren't the built libraries multithreaded regardless now?
Assuming that's the case, then the "-mt" suffix is just cosmetic, and as such, the better fix would be to simply rebuild akonadi, right?

~sHyLoCk~ 12-18-2009 10:49 PM

There ya go:
Quote:

Sat Dec 19 00:09:53 UTC 2009
l/akonadi-1.2.1-x86_64-2.txz: Rebuilt.

niels.horn 12-21-2009 05:37 AM

Thanks for all the posts... I had to rebuild one of my packages (LDView) that stopped working after the latest update from -current.


All times are GMT -5. The time now is 11:13 AM.