A
A
ANtlord2011-11-13 09:29:56
linux
ANtlord, 2011-11-13 09:29:56

Location of libraries in ubuntu 11.10?

Good afternoon, Khabrovchane, I recently upgraded from ubuntu 10.10 to 11.10. Everything was fine until the moment when I needed to install libraries to work in OpenAL with ogg, but then I solved the problem by compiling the library manually.
Now I have a problem installing wxWidgets with OpenGL support, I also installed all the necessary packages as before, however wxWidgets during configuration shows that there is no OpenGL. Synaptic (as in the case of ogg), when I wanted to see the list of installed files, it said that it was impossible to see the files of an uninstalled package and itself shows that the package is installed.
I found out that some packages in the new version of ubuntu were installed not in "/usr/lib", but in "/usr/lib/i386-linux-gnu".
Question: is it possible to somehow install in a familiar folder, if so, how, or now we have to wait for the developers to write software with requests in new ways?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lockal, 2011-11-13
@ANtlord

And you in the first paragraph about OpenAL, and then about OpenGL. These are completely different libraries for different things.
I use 11.04, all the paths are already registered in it. Perhaps you have registered, but the problem is something else.
Check: the first line of /etc/ld.so.conf indicates that all files from the /etc/ld.so.conf.d/ directory should be read

include /etc/ld.so.conf.d/*.conf

/etc/ld.so.conf.d/GL.conf
/usr/lib/mesa

/etc/ld.so.conf.d/i686-linux-gnu.conf
# Multiarch support
/lib/i386-linux-gnu
/usr/lib/i386-linux-gnu
/lib/i686-linux-gnu
/usr/lib/i686-linux-gnu

If you change these files, run sudo ldconfig after changing them.
If WxWidgets writes that there is no OpenGL, then most likely it means the absence of a -dev package. Usually these are header files from the driver (packages nvidia-173-dev, nvidia-96-dev, etc.)
“is it possible to somehow install in the usual folder” - for this there is a --prefix=/usr flag in ./configure.

A
ANtlord, 2011-11-13
@ANtlord

I know about OpenAL and OpenGL (it's not for nothing that I work with them =) ), but in this case they are combined in one context not by the purpose they implement, but by the essence of the packages.
ld stands for lib data? (That's right, by the way) Does
this file contain the installation paths for the libraries?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question