Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: open SuSE 10.3, heavily modified...;)
Posts: 13
Rep:
Celestia compilation issues
I am trying to compile the new version of celestia (1.5.1), and encounter the following problem during configuration (last 11 lines out):
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for gluLookAt in -lGLU... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for CAIRO... yes
checking for THEORA... yes
checking for jpeg_start_decompress in -ljpeg... no
configure: error: jpeg library not found
libjpeg.so is alive and present in /usr/lib64, and other libraries in the same directory are detected with no problem. Any ideas?
I have mostly the latest versions of all the tools; other software compiles without a hitch.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
I am guessing: the other libs in /usr/lib64 have an entry in /usr/lib/pkgconfig,
so they will be found. There are these options in 'configure'
--with-extra-includes=DIR adds non standard include paths
--with-extra-libs=DIR adds non standard library paths
(from 'configure --help)
Distribution: open SuSE 10.3, heavily modified...;)
Posts: 13
Original Poster
Rep:
I tried --with-extra-libs=/usr/lib64, and it didn't work. I even went ahead and installed jpeg-devel-32bit to make sure I had both versions of the library. Still no luck! Same output.
Quote:
Originally Posted by knudfl
I am guessing: the other libs in /usr/lib64 have an entry in /usr/lib/pkgconfig,
so they will be found. There are these options in 'configure'
--with-extra-includes=DIR adds non standard include paths
--with-extra-libs=DIR adds non standard library paths
(from 'configure --help)
Distribution: open SuSE 10.3, heavily modified...;)
Posts: 13
Original Poster
Rep:
OK, an update: it's got to be the configure script for this version of Celestia, since I just tried compiling an older version (1.3.0) and it went without a hitch. Weird, but true...
or you don't have the exact version of the library that it wants.
It happened to me with gkrellm. He was asking for a library, it was in /usr/lib, but it was a newer version than the one he was asking for.
Maybe your program needs a newer version of the jpeg library, and you have a older one. That is why the older version of the program worked.
Distribution: open SuSE 10.3, heavily modified...;)
Posts: 13
Original Poster
Rep:
Could have been, but I just installed the newest development versions with smart, so that should not be the issue. Like I said, it's weird. Adding insult to injury, I upgraded my SuSE to 10.3 and it seems to have broken most of the GL apps: Celestia, partiview, google-earth are balking at me now. I suspect it's that x11-nouveau nvidia driver (I get a "insufficient GL support/extension GLX missing from display ":0.0" " message, and all the MESA libs are up to date and exist both in 32 and 64 bit versions), so I'll just try to reinstall the original nvidia one, and see what happens.
Wow, I am full of problems today!
Quote:
Originally Posted by LordAnta
or you don't have the exact version of the library that it wants.
It happened to me with gkrellm. He was asking for a library, it was in /usr/lib, but it was a newer version than the one he was asking for.
Maybe your program needs a newer version of the jpeg library, and you have a older one. That is why the older version of the program worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.