[SOLVED] problems with x11 libraries after updates
UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
I use a software (MOOG), which requires libX11.a.
This software was working properly on kubuntu (both 64 and on 2 different 32 bit distro). After an update, it doesn't work anymore and it is not possible to compile it again.
The errors are pointing to X11:
-----
In function `x11_setup':
undefined reference to `XSetErrorHandler'
undefined reference to `XSetIOErrorHandler'
...
and a zillion of othere undefined references
-------
libX11.a is installed on my pcs, from libx11-dev (2:1,4,4.2ubuntu1).
Any idea on what went wrong and/or how to solve it?
all sub1.f & co are compiled in advance with gfortran -Wall, no libraries needed.
any suggestion is again very welcomed
Rosanna
Did that link have the solution to your problem? If so, please mark this thread as SOLVED. This sounds like a different question (actually, there is no question, just statements) so it should be a new thread. If this is a new question, start a new thread in the proper forum. If it is somehow related to your original question, please explain how it is germane to the original question.
Apologies for the last message, it was actually obscure.
no, it is the same question, since the link did not solve my problem.
In the link, the way to solve the problem was to put compiler-options-program.c-libraries in this order.
As I stated in the last message, it seems that in my makefile the things are called in the right order.
I reported the exact command in case I am missing something obvious.
the problem is solved.
It was something in the makefile, I changed here and there, but I have no idea what and I do not want to mess up again, because of deadlines.
Sorry about that. The bottom line is that it was not related to missing libraries or compiler options, possibly I messed up with the syntax of the makefile.
the problem is solved.
It was something in the makefile, I changed here and there, but I have no idea what and I do not want to mess up again, because of deadlines.
Sorry about that. The bottom line is that it was not related to missing libraries or compiler options, possibly I messed up with the syntax of the makefile.
Could you please post your Makefile? I'm having the same problem and I can't figure it out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.