[CLAM] [clam-devel] CLAM apps do not start - error while loading shared libraries

Pau Arum’í pau.arumi at barcelonamedia.org
Sun Mar 7 08:44:48 PST 2010


En/na Louigi Verona ha escrit:
> It did not change anything. Sorry, I might be doing something wrong.
Do you mean that setting the var in .bashrc didn't work? If so, issue
echo $LD_LIBRARY_PATH
from the terminal to check that /usr/local/lib is included in this var 
(else double check that you have open a new bash, or read a linux 
terminal manual)
>
> Anyway, why would it issue an error in the first place? I did 
> compilation as instructed.
The INSTALL, as in most of the linux projects, takes for granted that 
either the distribution is configured to load libraries installed in 
/usr/local (or that the user knows the basics of installing from 
source). I have no idea why in your system this is not the case.

P

>
> On Sun, Mar 7, 2010 at 3:29 PM, Pau Arumi 
> <pau.arumi at barcelonamedia.org <mailto:pau.arumi at barcelonamedia.org>> 
> wrote:
>
>     (also sending to clam-users, since the thread was in both devel
>     and users lists)
>
>
>     En/na Louigi Verona ha escrit:
>
>         My mistake. Now that I ran just the command you told me - it
>         works. Do I have to run this command each time? Any way to fix
>         this permanently?
>
>
>     of course, you could just add this line in your .bashrc (in your home
>     dir). The change will take effect after opening a new bash session.
>     export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
>     This sets the var each time you open a terminal so NetworkEditor will
>     open from a terminal but not from the desktop menu (there are ways
>     to do
>     the second but don't know out of my head
>
>     P
>
>
>         On Sun, Mar 7, 2010 at 1:04 PM, Louigi Verona
>         <louigi.verona at gmail.com <mailto:louigi.verona at gmail.com>
>         <mailto:louigi.verona at gmail.com
>         <mailto:louigi.verona at gmail.com>>> wrote:
>
>            Tried rebuilding everything again. Same result.
>
>            NetworkEditor: error while loading shared libraries:
>            libclam_qtmonitors.so.1.4: cannot open shared object file:
>         No such
>            file or directory
>
>            Running it with "NetworkEditor LD_LIBRARY_PATH=/usr/local/lib
>            ./NetworkEditor" did not help.
>
>            The result of the command you asked to run is this:
>
>            lrwxrwxrwx 1 root root       24 2010-03-07 12:47
>            /usr/local/lib/libclam_audioio.so -> libclam_audioio.so.1.4.0
>            lrwxrwxrwx 1 root root       24 2010-03-07 12:47
>            /usr/local/lib/libclam_audioio.so.1.4 ->
>         libclam_audioio.so.1.4.0
>            -rwxr-xr-x 1 root root  8371471 2010-03-07 12:45
>            /usr/local/lib/libclam_audioio.so.1.4.0
>            lrwxrwxrwx 1 root root       21 2010-03-07 12:46
>            /usr/local/lib/libclam_core.so -> libclam_core.so.1.4.0
>            lrwxrwxrwx 1 root root       21 2010-03-07 12:46
>            /usr/local/lib/libclam_core.so.1.4 -> libclam_core.so.1.4.0
>            -rwxr-xr-x 1 root root  8179414 2010-03-07 12:40
>            /usr/local/lib/libclam_core.so.1.4.0
>            lrwxrwxrwx 1 root root       27 2010-03-07 12:46
>            /usr/local/lib/libclam_processing.so ->
>         libclam_processing.so.1.4.0
>            lrwxrwxrwx 1 root root       27 2010-03-07 12:46
>            /usr/local/lib/libclam_processing.so.1.4 ->
>            libclam_processing.so.1.4.0
>            -rwxr-xr-x 1 root root 57823425 2010-03-07 12:44
>            /usr/local/lib/libclam_processing.so.1.4.0
>            lrwxrwxrwx 1 root root       27 2010-03-07 12:55
>            /usr/local/lib/libclam_qtmonitors.so ->
>         libclam_qtmonitors.so.1.4.0
>            lrwxrwxrwx 1 root root       27 2010-03-07 12:55
>            /usr/local/lib/libclam_qtmonitors.so.1.4 ->
>            libclam_qtmonitors.so.1.4.0
>            -rwxr-xr-x 1 root root 13463120 2010-03-07 12:54
>            /usr/local/lib/libclam_qtmonitors.so.1.4.0
>
>            /usr/local/lib/clam:
>            total 8
>            -rwxr-xr-x 1 root root 7655 2010-03-07 12:55
>            libclam_qtmonitors_plugin.so
>
>
>
>            Louigi.
>
>
>
>            On Wed, Feb 17, 2010 at 12:56 PM, Pau Arum?
>            <pau.arumi at barcelonamedia.org
>         <mailto:pau.arumi at barcelonamedia.org>
>
>            <mailto:pau.arumi at barcelonamedia.org
>         <mailto:pau.arumi at barcelonamedia.org>>> wrote:
>
>
>                El dc 17 de 02 de 2010 a les 07:33 +0100, en/na Louigi
>         Verona va
>                escriure:
>                > Hey guys!
>                > I installed NetworkEditor.
>                > When I try starting it it says it cannot load shared
>                libraries. The
>                > libraries are there though, in standard local/lib. When
>                installing I
>                > pointed the prefix to that.
>                > I am on Ubuntu 9.04.
>                >
>                > Louigi Verona.
>
>                Strange. Shouldn't be necessary, but try executing defining
>                LD_LIBRARY_PATH:
>
>                LD_LIBRARY_PATH=/usr/local/lib ./NetworkEditor
>
>                If doesn't work, please send the exact output of the
>                NetworkEditor app,
>                and the result of
>                ls -l /usr/local/lib/*clam*
>
>                P
>
>                _______________________________________________
>                clam-devel mailing list
>                clam-devel at lists.clam-project.org
>         <mailto:clam-devel at lists.clam-project.org>
>                <mailto:clam-devel at lists.clam-project.org
>         <mailto:clam-devel at lists.clam-project.org>>
>
>              
>          http://lists.clam-project.org/listinfo.cgi/clam-devel-clam-project.org
>
>
>
>
>
>     _______________________________________________
>     clam-users mailing list
>     clam-users at lists.clam-project.org
>     <mailto:clam-users at lists.clam-project.org>
>     http://clam-project.org
>
>




More information about the clam-users mailing list