![]() 01:04:29,563 4036 - Registering new command 'config' in assembly 'choco' 01:04:29,547 4036 - Registering new command 'help' in assembly 'choco' 01:04:29,547 4036 - Registering new command 'info' in assembly 'choco' 01:04:29,547 4036 - Registering new command 'list' in assembly 'choco' 01:04:29,533 4036 - Registering new command 'export' in assembly 'choco' ![]() 01:04:29,533 4036 - Registering new command 'upgrade' in assembly 'choco' 01:04:29,518 4036 - Registering new command 'template' in assembly 'choco' 01:04:29,235 4036 - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco' ![]() 01:04:29,235 4036 - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco' 01:04:29,220 4036 - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco' 01:04:29,220 4036 - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco' 01:04:29,220 4036 - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco' 01:04:29,220 4036 - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco' ![]() 01:04:29,048 4036 - XmlConfiguration is now operational HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\XnConvert_is1 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/your-uber-libs your_uber_commandĪlternatively, add the following to your. But if you only wanna test something, then rather use your LD_LIBRARY_PATH directly from command line, like this: LD_LIBRARY_PATH=/usr/local/lib/your-uber-libs. sudo ldconfig -v -n /usr/local/lib/your-uber-libsĭone. The safest way to use that command is by using the flags -v -n to make the command verbose and to specify what library directory you need to add. The cool system dude (who knows what he is doing) way to do this is using ldconfig, however, you may do stuff you regret, if you make a mistake here. Next you need to tell your system where to find these libraries. There are many others, but you should most likely stay with /usr/local/lib. usr/lib # for package manger installed apps On Linux there are some standard places: /lib # for base system (don't use this!) To find your various library locations on your system (apart from using find), look here: cat /etc/ld.so.conf Where are your native libraries located?.Do you only need them for running that particular command once or twice?.Do you only need to install for testing and frequent updates?.Do you need these files to be a permanent part of your system?.So there are a couple of things to think about: This is easily done since people have little imagination in making original unique names for their libraries. BUT you want to avoid accidentally copying your library files into/over those of the system. There are many ways to do this, most already mentioned here. When I perform an echo $LD_LIBRARY_PATH, /opt/lib is also listed.Īny ideas into where the problem lies? Thanks.Īn ldd libxerces-c-3.1.so command yields the following output: linux-vdso.so.1 => (0x00007fffeafff000) The file is there when I checked the folder. Libxerces-c-3.1.so is in the directory /opt/lib which I have included as a library in eclipse. The build produced no errors however, when i attempted to run the program, I would receive this error:Įrror while loading shared libraries: libxerces-c-3.1.so: cannot open shared object file: No such file or directory I'm running eclipse on Ubuntu using a g++ compiler and I'm trying to run a sample program that utilizes xerces.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |