I’m trying to install prosody, an XMPP application written in Loa on an openSUSE 11.2 AMD64 system. It’s complaining that it can’t find sundry loa libraries, including:
YaST/zypper swears they’re installed. Any ideas why this might be?
By way of closing this loop for other interested parties (if any), I had a discussion on other channels with Prosody developers.
A perennial gotcha for people installing the lua-based program on an openSUSE box is a breakdown in agreement on where the scripting language libraries go.
The issue seems to be that lua expects all it’s components to be in the /usr/local tree, and the openSUSE package is storing them in /usr. That and also this is a 64-bit system, so libs built to that architecture are in something/lib64.
One way to fix this, I believe, is by creating appropriate symbolic links, thus:
Not quite true, I have several lua based applications running and
installed as per /usr I have not looked at the source code, but
normally I would expect the configure script to respect the --prefix
option and adjust the makefiles as appropriate.
Your above option shouldn’t be necessary if you look at /etc/ld.so.conf
the /usr/local is present, else add your specific config
in /etc/ld.so.conf.d/ directory so any updates don’t overwrite.
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 184.108.40.206-0.1-default
up 1 day 21:16, 3 users, load average: 0.40, 0.47, 0.41
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15