*BSD News Article 88638


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.erols.net!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!ui-gate.utell.co.uk!brian
From: brian@ui-gate.utell.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to make share libraries here ?
Date: 7 Feb 1997 09:48:43 GMT
Organization: Utell International
Lines: 24
Message-ID: <5detpr$k62@ui-gate.utell.co.uk>
References: <01bc1460$e89005e0$1a000015@withit.aglance.com>
NNTP-Posting-Host: ui-gate.utell.net
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35169

Tony Lu (tony@aglance.com) wrote:
: I am tring to make some share libs on freebsd 2.1.0.
: I made library in my work directory, and made a application link against my
: library as
: an object, everything works fine till now, the application runs. THEN, I
: put the library in to
: /usr/lib , my application stop working unless I run it from /usr/lib
: directory.

Have you rerun ldconfig ?  Check the man page.

: another question about the ld is : when I link my library, it give me tons
: of message talking about "RRS text relocation as 0x167d for ... ". is there
: a way to turn off this ?

Dunno - sorry, I've never made a shared lib myself.


: your help is highly appriciated.

--
Brian <brian@awfulhak.demon.co.uk> <brian@utell.co.uk> <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour !