logo       

Re: prelink question: msg#01141

Subject: Re: prelink question
On Mon, Jan 19, 2004 at 09:08:56PM -0500, Neal Becker wrote:
> I am building kde3.2-rc with prefix=/opt/kde3.2-rc, so all libs+bins will
> coexist with current fedora.
> 
> Can I run prelink on them?  Last time I tried this with kde3.2-beta1 it
> totally broke the code.  I don't know why, although I'm guessing it's
> because of duplicate libraries.

It certainly should not break anything, I need a detailed bug report if it
does.

> Last time, all I did is add /opt/kde3.2/lib and /opt/kde3.2/bin to the end
> of /etc/prelink.conf and run prelink.  Is there a way to do this that
> doesn't break things?

Are you using LD_LIBRARY_PATH to run the KDE3.2 binaries or -Wl,-rpath
when linking?
If the libraries have the same SONAMEs as the system ones, but are
incompatible (which is a bad idea but some projects do it from time to time),
then -Wl,-rpath is the only way to make prelinkable both system and
/opt/kde3.2 KDE binaries.  Though, as I said, even if you prelinked
the KDE3.2 binaries against system libraries, they should still run,
although not get any advantages from prelinking.

        Jakub


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe