On Thu, 9 Dec 1999, Eugene Miretskiy wrote:
> Hello,
>
> I'm having problem compiling mod_perl_1.21 on SunOS 5.7
>
> I followed instuctions in INSTALL.simple (just to see if i can compile
> modperl).
> I got the following error message when I tried to make modperl:
>
> ===> main
> gcc -c -I../os/unix -I../include -DSOLARIS2=270 -DMOD_PERL
> -DUSE_EXPAT -I../lib/expat-lite -DMOD_PERL gen_test_char.c
> gcc -DSOLARIS2=270 -DMOD_PERL -DUSE_EXPAT -I../lib/expat-lite
> -DMOD_PERL -o gen_test_char gen_test_char.o `perl
> /usr/local/tmp/mod_perl-1.21/src/modules/perl/ldopts ` -lsocket
> -lnsl -L/usr/local/lib
> /usr/local/lib/perl5/5.00503/sun4-solaris/auto/DynaLoader/DynaLoader.a
> -L/usr/local/lib/perl5/5.00503/sun4-solaris/CORE -lperl -lsocket -lnsl
> -lgdbm -ldb -ldl -lm -lc -lcrypt
> ./gen_test_char >test_char.h
> ld.so.1: ./gen_test_char: fatal: libgdbm.so.2: open failed: No such file
> or directory
> Killed
> make[2]: *** [test_char.h] Error 137
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/usr/local/tmp/apache_1.3.9/src'
> make: *** [apache_httpd] Error 2
>
> I have latest libgdbm installed (in /usr/local/lib), and have the latest
> version of ld.
> What could be causing this problem?
Do you have a symlink from /usr/local/lib/libgdbm.so.2 to
/usr/local/lib/libgdbm.so.2.x.x? replace x.x with the version that you
have.
>
> Thanks in advance.
>
> --
> Eugene Miretskiy <[EMAIL PROTECTED]>
> InVision, INC. (516) 543-1000x219
> http://www.invision.net
>
_______________________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC
perl.apache.org modperl.sourcegarden.org perlmonth.com perl.org
single o-> + single o-+ = singlesheaven http://www.singlesheaven.com