Try "sudo ldconfig".
----- Original Message -----
From:
jeanpatri...@gmail.com
To:
fityk...@googlegroups.com
Date: 23.10.2012 08:55:27
Subject: [fityk-users] Re: failed to build fytik 1.2 under ubuntu 12.04 (lua issue)
> Sorry to bother every one again,
>
> Restarting from the beginning:
>
> *~/Applications/wojdyr-fityk-d8774a9$ autoreconf -iv && ./configure
> --enable-python --with-lua-suffix=5.1 CPPFLAGS="-I/usr/include/lua5.1" &&
> make clean && make*
>
> no error message, then "sudo make install" worked too with the message at
> the end:
>
> *make[3]: entrant dans le répertoire «
> /home/simon/Applications/wojdyr-fityk-d8774a9 »*
> */bin/mkdir -p "/usr/local/share/fityk/html"*
> *cp -fR ./doc/html/* "/usr/local/share/fityk/html" && \*
> * chmod -R u+w "/usr/local/share/fityk/html"*
> *make[3]: quittant le répertoire «
> /home/simon/Applications/wojdyr-fityk-d8774a9 »*
> *make[2]: quittant le répertoire «
> /home/simon/Applications/wojdyr-fityk-d8774a9 »*
> *make[1]: quittant le répertoire «
> /home/simon/Applications/wojdyr-fityk-d8774a9 »*
>
> but fityk doesn't start:
> *$ fityk
> fityk: error while loading shared libraries: libfityk.so.4: cannot open
> shared object file: No such file or directory*
>
>
>
>
>
> Le jeudi 18 octobre 2012 10:30:42 UTC+2, Jean-Patrick Pommier a écrit :
>>
>> Dear all,
>> Since Fytik 0.9 available in Ubuntu is instable, I try to build fytik 1.2
>> under ubuntu 12.04 (32 bits)
>>
>>
>> - wxwindow 2.9 was build from source.
>>
>>
>> - dependencies were checked with synaptics, particularly .dev files
>>
>> The ./configure step failed when checking some lua files as follow:
>> ...
>> checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1
>> -Wl,-Bsymbolic-functions
>> checking consistency of all components of python development
>> environment... yes
>> checking lua.h usability... yes
>> checking lua.h presence... yes
>> checking for lua.h... yes
>> checking lualib.h usability... yes
>> checking lualib.h presence... yes
>> checking for lualib.h... yes
>> checking lua.h version is in range 501 <= v < 503... (found Lua 5.1,
>> 501)... yes
>> checking for exp in -lm... yes
>> checking for dlopen in -ldl... yes
>> checking for lua_load in -lluayes... no
>> configure: error: Lua library not found. You may try option
>> --with-lua-suffix.
>>
>> I can't find lua_load in ubuntu repository (most lua stuff is installed)
>> nor I don't know what to do with the option* --with-lua-suffix*
>>
>> I tried different options with ./configure:
>>
>>
>> 1. ./configure --enable-python
>> 2. ./configure --enable-python CPPFLAGS="-I/usr/include/lua5.1"
>> 3. ./configure --enable-python --with-lua-suffix
>> CPPFLAGS="-I/usr/include/lua5.1"
>>
>> Thank you for your advices.
>>
>> Jean-Patrick
>>
>>
>>
>
> --
>
http://groups.google.com/group/fityk-users