On Wed, 31 Mar 2004, Nigel wrote: > I Recently installed Berkerly 4.1 so I know it's on the system. > > maybe the install process can't find it:- > > /usr/i486-suse-linux/bin/ld: cannot find -ldb > > Can cpan be told where to look for stuff if it is in an incorrect place > for 'suse'?
try this: LDFLAGS="-L/opt/gnu/lib -L/usr/local/lib -L/opt/local/lib" \ CFLAGS="-I/opt/gnu/include -I/usr/local/include -I/opt/local/include" \ perl -MCPAN -e shell one command line, change the pathes for your system. or first set this variables using export, then perl -MCPAN ... and what says: rpm -qa | grep db is there a db and an db-devel, or db4 and db4-devel (not sure about the 4, this versioning is confusing me). regards, Matthias
