[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: shared libs on solars
> From: "OBATA Akio" <obache%netbsd.org@localhost>
> On Sun, 13 Feb 2011 13:13:29 +0900, Stefan Schaeckeler
> <schaecsn%gmx.net@localhost> wrote:
> > I decided to add
> > CXXFLAGS= -Wl,-R/usr/gcc/lib
> > to mk.conf. Gmp's configure script bails out:
> How about put followings instead?
> LDFLAGS+= -Wl,-R/usr/gcc/lib
> BUILDLINK_PASSTHRU_DIRS+= /usr/gcc/lib
This would have one minor drawback. C programs would now also include
/usr/gcc/lib in their shared lib search path.
I didn't work, either.
configure:10065: g++ -mcpu=ultrasparc -mtune=v9 -O2 -pipe conftest.cc >&5
configure:10068: $? = 0
configure:10072: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
ld.so.1: a.out: fatal: libstdc++.so.6: open failed: No such file or directory
./configure: ./b.out: not found
./configure: ./a.exe: not found
./configure: ./a_out.exe: not found
./configure: ./conftest: not found
configure:10075: $? = 127
Scotty: Captain, we din' can reference it!
Kirk: Analysis, Mr. Spock?
Spock: Captain, it doesn't appear in the symbol table.
Kirk: Then it's of external origin?
Kirk: Mr. Sulu, go to pass two.
Sulu: Aye aye, sir, going to pass two.
Main Index |
Thread Index |