libX11.so.6: could not read symbols: Invalid operation
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
undefined reference to symbol 'XGetWindowAttributes'
Free Objects for Crystallography : Fox - 20 Dec 2011.
... Seems not to like any contemporary OS.
No luck either with Fedora 19, 32bits and Debian 7, 64bits.
EDIT : OK, Slackware64-14 with the fix, post # 7.
But OK with the Fedora 12 based Scientific Linux SL 6.4 (a RHEL6 copy.)
I don't remember it EVER "inheriting" a link directive from the code.
The only link directives ever defaulting was libc, and the language specific runtime libraries, and that isn't any form of inheritance, but happens to be from the invocation of the link - in this case, gcc has whatever is listed for "defaultlibs" and "stdlib", which I believe is only libc. Anything else requires a specific library reference. Now, various options will define/modify a "linker script" that can add libraries, but I never ran across one that specified any X library.
I've been linking X based utilities since about 1995 on Linux; always had to have any X libraries I needed on the command line... and in the proper order (THAT has changed at various times)