develooper Front page | perl.perl5.porters | Postings from June 2001

Re: [ID 20010628.001] problems building 5.6.1 with libgdbm

Thread Previous
From:
Michael Stevens
Date:
June 28, 2001 09:07
Subject:
Re: [ID 20010628.001] problems building 5.6.1 with libgdbm
Message ID:
20010628170659.A30783@firedrake.org
On Thu, Jun 28, 2001 at 11:59:44AM +0100, Michael Stevens wrote:
> #include <stdio.h> int main() { printf("Ok\n"); exit(0); }
> 
> I used the command:
> 
>         cc -o try -O -I/usr/local/include -L/usr/local/lib
>         -L/opt/APPS/forte-6/SUNWspro/WS6/lib try.c -lsocket -lnsl -lgdbm -ldb
>         -ldl -lm -lc ./try
> 
> and I got the following output:
> 
> ld.so.1: ./try: fatal: libgdbm.so.2: open failed: No such file or directory
> Killed The program compiled OK, but exited with status 137.  You have a
> problem.  Shall I abort Configure [y]  Ok.  Stopping Configure.
> 
> I've tried to disable gdbm support with -Ui_gdbm, but I still get the same
> error.

It starts working if I add -R/usr/local/lib to lddlflags and ldflags.

Michael

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About