From: Adrian Bunk <bunk@fs.tum.de>
To: gcc-help@gcc.gnu.org
Subject: How to build an RPATH into gcc?
Date: Sun, 02 May 2004 12:56:00 -0000 [thread overview]
Message-ID: <20040502125641.GY2541@fs.tum.de> (raw)
Hi,
if the following problem is a RTFM, I'd be glad if someone could give me
a pointer to the corresponting "M"....
I have the following problem when building gcc 3.3.3 or 3.4.0 on a
sparc-unknown-netbsdelf1.5 system:
The build works fine, using
../configure
make bootstrap
but the binary doesn't run:
<-- snip -->
$ ./gcc
Shared object "libintl.so.5" not found
$ objdump -p gcc
...
Dynamic Section:
NEEDED libintl.so.5
NEEDED libiconv.so.4
NEEDED libc.so.12
INIT 0x10de0
...
<-- snip -->
libintl and libiconv are in /usr/local/lib.
LDFLAGS="-L/usr/local/lib -R/usr/local/lib" ../configure
didn't work
LD_LIBRARY_PATH=/usr/local/lib ./gcc
works but isn't optimal.
It might be very simple, but I don't find the solution myself...
TIA
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next reply other threads:[~2004-05-02 12:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-02 12:56 Adrian Bunk [this message]
2004-05-02 23:35 ` llewelly
2004-05-02 23:42 ` Adrian Bunk
2004-05-03 4:18 ` llewelly
2004-05-03 11:46 ` Adrian Bunk
2004-05-05 2:26 ` Ian Lance Taylor
2004-05-06 0:17 ` Adrian Bunk
2004-05-06 0:36 ` Ian Lance Taylor
2004-05-06 1:03 ` Adrian Bunk
2004-05-06 1:10 ` Ian Lance Taylor
2004-05-06 13:48 ` Adrian Bunk
2004-05-06 13:59 ` Ian Lance Taylor
2004-05-06 12:10 ` bug - pointer to false Eljay Love-Jensen
2004-05-06 12:12 ` Eljay Love-Jensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040502125641.GY2541@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).