[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: (no subject)



you can find allot of info through the ld.so man page (the old dynamic
linker) and ld man page, and some HOW-TO files
beside that there are books on linking like this one:
 http://iecc.com/linker/ (also in hard copy)
 another paper regarding linking and run time linking
 http://mitglied.tripod.de/linux_progz/docs/startup.html  

and by the way the thing that you say about the linker in slackware doesn't
sound very logic. the linker doesn't depend in any way on the distribution,
and not even on the kernel version, it is Gnu software that fits all Linux
dist and it is related only to the file format (ELF in this case).
there are more ways to include libraries in run time path beside the env var
or rpath directive,
 like the /etc/ld.so.cache  file (read about it in ld.so man page)

~~ Assaf

-----Original Message-----
From: Miriam [mailto:prog@agri.huji.ac.il]
Sent: Thursday, November 09, 2000 8:06 AM
To: Tzafrir Cohen
Cc: Linux-IL Mailing List
Subject: (no subject)


1-Thank you for the quick answer.
2-I do have libxforms installed. The problem seems to be rather along the
line hinted at by Assaf Mevorach: Unlike some other Unix flavors and some
other Linux
distributions, in Slakware 7.0 the linker does not include BY DEFAULT the
code required to include in the RUN_TIME_PATH all the directories that
were searched for libraries when building it. Unless one uses the rpath
option at build time, or define explicitely a RUN_TIME_PATH, only /lib and
/usr/lib are seaeched.
3-I think I'll make use of your remark about the possibility of dispensing
with lib5. Thanks again.
4-Something funny happened to my message on the way to you. I refer to the
"missing space" (> s%@LIBS@% -lSM -lICE -liberty -lc-lm -L/usr/X11R6/lib
                                                   ^^
-lX11 %g
I assume the space there wasn't missing
in the original line):
I looked at all my copies of the message, in "sent mail" and in the
messages received from the list and from Assaf. The space is there. I
cannot explain that.
5-In order to include the rpath directive I have to modify one of the
Makefiles or call configure with some command-line parameter. I am not
familiar with the use of this technique. Can you give me some pointer
? (Must I mention that I never learned programming in a systematic way
?). Cheers, Avraham



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il