You are not logged in.
Hi everyone (installed Arch for the first time yesterday, and loving it )!
I wanna make a lib32-konqueror-nsplugins package for Arch64. I've made all the lib32 dependencies PKGBUILD's, I just need a lil help with the main one. For it to work you need to set LD_LIBRARY_PATH before launching konqueror.
export LD_LIBRARY_PATH=/opt/lib32/opt/qt/lib/
Not being a long time Arch/linux user I dont know where's the best place to get the PKGBUILD to place it...?
EDIT:
Never mind, making the following link works fine.
ln -s /opt/lib32/opt/qt/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so.3
Last edited by N30N (2007-04-09 17:24:35)
Offline
Usually you'd add the path to the end of /etc/ld.so.conf, I think, then make sure ldconfig was run.
Offline
Usually you'd add the path to the end of /etc/ld.so.conf, I think, then make sure ldconfig was run.
Ahhh cool, thanks(!), but I think it's a bit easyer for the PKGBUILD to just add the symbolic link (unless there is anything wrong with that? ).
Offline
Cerebral wrote:Usually you'd add the path to the end of /etc/ld.so.conf, I think, then make sure ldconfig was run.
Ahhh cool, thanks(!), but I think it's a bit easyer for the PKGBUILD to just add the symbolic link (unless there is anything wrong with that? ).
Well, then this way you'd have to make sure every lib in /opt/lib32/opt/lib/qt had a symlink in /usr/lib - this could get pretty messy. If you add a line to ld.so.conf, then that gets every lib in the /opt/lib32/opt/lib/qt path - that's really the whole point of ld.so.conf
Offline
Yupp, you shouldn`t link from /usr to /opt/lib32; use ld.conf instead.
Offline
Well, then this way you'd have to make sure every lib in /opt/lib32/opt/lib/qt had a symlink in /usr/lib - this could get pretty messy. If you add a line to ld.so.conf, then that gets every lib in the /opt/lib32/opt/lib/qt path - that's really the whole point of ld.so.conf
Sorry for my late reply.
Well only libqt-mt.so.3 is needed for my package to function correctly (have been using to for a while now with no errors). I don't see my package as being the correct place to be adding the line to ld.so.conf for the lib32-qt package. I would need to add a script to remove the line upon removal and that could mess things up if the lib32-qt starts adding the line (and then a user removes my package). So adding the a link is a cleaner way for now, is it not?
Last edited by N30N (2007-05-01 18:25:06)
Offline