Subject: Zoularis, lang/gcc: libstdc++.so not found
To: None <tech-pkg@netbsd.org>
From: Ingolf Steinbach <ingolf.steinbach@jena-optronik.de>
List: tech-pkg
Date: 06/18/2002 09:39:49
Hi,
after successfully installing lang/gcc in a Zoularis environment,
I try to compile a small C++ program like the following:
#include <iostream>
int main();
int main() {
std::cout << "Hello World!\n";
return 0;
}
Then:
% g++ -c hello.cpp -o hello.o
% g++ -o hello hello.o
% ./hello
ld.so.1: ./hello: fatal: libstdc++.so.2.10.0nb1: open failed: No such file or directory
Killed
% ldd ./hello
libstdc++.so.2.10.0nb1 => (file not found)
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
Am I missing something? Should Zoularis/gcc depend on
binutils?
Kind regards
Ingolf
--
Ingolf Steinbach Jena-Optronik GmbH
ingolf.steinbach@jena-optronik.de ++49 3641 200-147
PGP: 0x7B3B5661 213C 828E 0C92 16B5 05D0 4D5B A324 EC04