Sorry for the newbie question, my C is very, very rusty. Trying to build xrunclient from http://www.leftfield.org/~dd/sw.html , on IRIX64 I came across:
ld32: ERROR: 33: Unresolved text character "XOpenDisplay"
I believe this is because he cannot find the library he needs, but he finds the header files without complaints. How can I determine which library has this routine, so I can make sure that it is on the library path?
Teach a person to fish:
nm -o /usr/lib/lib*.a 2>/dev/null | grep XOpenDisplay | grep -w T
What does it mean is
/usr/lib. ( 64- /usr/lib64.) -o , , .
/usr/lib
/usr/lib64
-o
, : XOpenDisplay.
XOpenDisplay
Grep . lone T , nm(1) . , grep -w [TD] .
T
nm(1)
grep -w [TD]
:
/usr/lib/libSDL.a:SDL_x11dyn.o:00000380 T XOpenDisplay /usr/lib/libX11.a:OpenDis.o:00000420 T XOpenDisplay
, -lSDL ( , Google), -lX11 .
-lSDL
-lX11
: -)
libX11.so - Xlib, , Xlib, "X". "Xt", , Xt.
, 15 , , , . , man- X- (, , , manpages, ).
, grep , grepping /usr/lib , , , , . ( Linux, ?), .so, .
: ah, Irix, Linux; , . , - manpages.
Source: https://habr.com/ru/post/1712139/More articles:Oracle CASE with OR - oracleJQuery real-time validation - javascriptHow to turn a very long column into a few shorter ones? - javascriptcross-platform storage framework + metadata? - databaseReading time indicated on the Firebug Net tab - performanceWhere is the commercially useful monthly zipcode dataset? - datasetHow to unit test for relative performance? - unit-testingSetting User Control for DataContext from Code - vb.netDeploying a WAR with Spring with its external JAR dependencies - javaHow to convert a complex binary Perl regular expression to C # or PowerShell? - c #All Articles