|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Oct 2003
Città: Chicago, IL
Messaggi: 504
|
Doamnda nubbia, almeno credo
Ciao a tutti,
Apro questo post perche vorrei sapere come settare una variabile permanentemente. Ho seguito questo sito: Running wxWidgets projects If when running a wxWidgets app you get an error like: ./a.out: error while loading shared libraries: libwx_gtk2_aui-2.8.so.0: cannot open shared object file: No such file or directory this means your system does not search for libs in /usr/local/libs (or wherever you installed wxWidgets) by default. To solve this, write 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib' on the terminal before opening the executable (from the same terminal). FIN QUI TUTTO OK. You can change the LD_LIBRARY_PATH variable permanently to avoid this issue. Come setto la variabile in modo tale che non debba inserirla ogni volta manualmente? Come la setto permanentemente? La variabile e questa : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib Bye and thanks in advantage The website is http://www.wxwidgets.org/wiki/index....etting_started |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Oct 2001
Messaggi: 11471
|
Basta aggiungere il comando alla fine del file ~/.bash_profile. Altrimenti modifica /etc/profile per renderlo disponibile a tutti gli utenti del sistema.
ciao ![]() |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 13:56.