Re: Re: make problems
try rather a symlink ln -s /lib/libdb1.so /lib/libdb.so it will be easier than trying to modify an autoconf-generated makefile. Cheer up, you'll get it done :-) Romain Begin Original Message From: jdls [EMAIL PROTECTED] I had a similar problem with compiling mod_dav from source (this is using debian testing). For some reason, ld couldn't find libdb, even though it was available in /lib/ (or /usr/lib, I can't remember) and ldconfig was finding it ok. My solution was to replace -ldb with -ldb1 in the Makefile. You don't actually have to replace the -ldb, you just have to make sure -ldb1 is there somewhere. I think I got libdb1 from the libdb1 package. -- hi, How do I replace the -ldb with ldb1 in the Makefile? or how do I make *sure* that -lbd1 is there *somewhere* so that gnome_dialup will compile correctly... I really like that gnome_dialup.. I've had that since *potato* was still unstable :( End Original Message Check out the Orange Cat! www.garfield.com Get your free customized E-mail from http://gmail.garfield.com !
Re: make problems
thanks Cris, installing libdb2-dev did the job...I wish that apt-cache can do regex searches in the future..that can make life a lot simpler for people like me. From: Chris Gray [EMAIL PROTECTED] To: Debian User debian-user@lists.debian.org Sent: Thursday, February 01, 2001 4:40 PM Subject: Re: make problems Try installing libdb2-dev (though I don't know if that's in potato). Usually when you are having trouble compiling something because of a missing library, you can be sure that the package that you need to install begins with lib and ends with -dev. I don't know how a new user would know about the db2 part. You know that you need db, so you do a search for libdb in apt-cache, I guess. It's a shame that apt-cache doesn't do regex searches. Incidentally, libdb1 depends on libc5, so you probably don't want it. If libdb2-dev isn't in potato, you might just need libc6-dev. Cheers, Chris -- Got jag? http://www.tribsoft.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: make problems
-ldb mean link to library libdb: /lib/libdb.so.2 it's in package libc6, so it's *strange* that you can't find it. for such things you can search pacakges.debian.org. On Thu, 1 Feb 2001 [EMAIL PROTECTED] wrote: Hi, When trying to compile gnome_dialup from source I get this error: trunks:/home/jdls/gnome_dialup# make usr/bin/ld: cannot find -ldb collect2: ld returned 1 exit status make: *** [gnome-dialup] Error 1 searching the contents of the latest release or packages directories turns up nothing for ldb or -ldb? Hoping for some help Thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: make problems
[EMAIL PROTECTED] wrote: Hi, When trying to compile gnome_dialup from source I get this error: trunks:/home/jdls/gnome_dialup# make usr/bin/ld: cannot find -ldb collect2: ld returned 1 exit status make: *** [gnome-dialup] Error 1 searching the contents of the latest release or packages directories turns up nothing for ldb or -ldb? Hoping for some help I had a similar problem with compiling mod_dav from source (this is using debian testing). For some reason, ld couldn't find libdb, even though it was available in /lib/ (or /usr/lib, I can't remember) and ldconfig was finding it ok. My solution was to replace -ldb with -ldb1 in the Makefile. You don't actually have to replace the -ldb, you just have to make sure -ldb1 is there somewhere. I think I got libdb1 from the libdb1 package. -- [EMAIL PROTECTED] Web: http://houseofmoran.com/ AvantGo: http://houseofmoran.com/Lite/
Re: make problems
I had a similar problem with compiling mod_dav from source (this is using debian testing). For some reason, ld couldn't find libdb, even though it was available in /lib/ (or /usr/lib, I can't remember) and ldconfig was finding it ok. My solution was to replace -ldb with -ldb1 in the Makefile. You don't actually have to replace the -ldb, you just have to make sure -ldb1 is there somewhere. I think I got libdb1 from the libdb1 package. -- hi, How do I replace the -ldb with ldb1 in the Makefile? or how do I make *sure* that -lbd1 is there *somewhere* so that gnome_dialup will compile correctly... I really like that gnome_dialup.. I've had that since *potato* was still unstable :(
Re: make problems
On Thu, 01 Feb 2001, [EMAIL PROTECTED] wrote: I had a similar problem with compiling mod_dav from source (this is using debian testing). For some reason, ld couldn't find libdb, even though it was available in /lib/ (or /usr/lib, I can't remember) and ldconfig was finding it ok. My solution was to replace -ldb with -ldb1 in the Makefile. You don't actually have to replace the -ldb, you just have to make sure -ldb1 is there somewhere. I think I got libdb1 from the libdb1 package. -- hi, How do I replace the -ldb with ldb1 in the Makefile? or how do I make *sure* that -lbd1 is there *somewhere* so that gnome_dialup will compile correctly... I really like that gnome_dialup.. I've had that since *potato* was still unstable :( Try installing libdb2-dev (though I don't know if that's in potato). Usually when you are having trouble compiling something because of a missing library, you can be sure that the package that you need to install begins with lib and ends with -dev. I don't know how a new user would know about the db2 part. You know that you need db, so you do a search for libdb in apt-cache, I guess. It's a shame that apt-cache doesn't do regex searches. Incidentally, libdb1 depends on libc5, so you probably don't want it. If libdb2-dev isn't in potato, you might just need libc6-dev. Cheers, Chris -- Got jag? http://www.tribsoft.com
Re: make problems
hi, In answer to your questions no, I did not run ./configure in my own directory I just downloaded a tar.gz file into the new a directory in the new partition (since I no longer have any diskspace in my root partion containing my home directories) symlinked to my home directory. e.g. ln -s /mnt/ext/hda7/foo /home/user/foo. that didd;nt work so I also created another symlink ln -s /home/user/foo /mnt/ext/hda7/foo to maybe try to make it work but still to no avail. if I executed make from the root partition all goes well so I think maybe I am symlinking the wrong directories? that is why make does'nt execute from the new partition? if so, what can I do abt this? Joseph de los Santos wrote: however, when I try to run make from that new partition I get this error: Let me guess: did you run ./configure in your home directory, then mv the files to your working space on your new partition? make -C src/ptlib/unix both ; make -C tools/asnparser both ; make[1]: Entering directory `/mnt/ext/pwlib/src/ptlib/unix' OK... make will look in src/ptlib/unix for the Makefile, Makefile:209: /home/jhou/pwlib/make/unix.mak: No such file or directory What does line 209 of src/ptlib/unix/Makefile have in it? I'm wondering if there's some $HOME/src/pwlib/make/unix.mak, or some variant. grep: /home/jhou/pwlib/version.h: No such file or directory ... make: *** [both] Error 2 this may have to do with symlinks but I am really not sure. What symlinks do you have set up? also Tried to make as root but still get the same error (except for the directory /home/* it's changed to /root/pwlib/blah... This strengthens my suspicion of some derivation of $HOME to get your working directory. Maybe you should (from $HOME) ln -s /mnt/export/pwlib pwlib, then cd pwlib, and try your make -C ... -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: make problems
Joseph de los Santos wrote: however, when I try to run make from that new partition I get this error: Let me guess: did you run ./configure in your home directory, then mv the files to your working space on your new partition? make -C src/ptlib/unix both ; make -C tools/asnparser both ; make[1]: Entering directory `/mnt/ext/pwlib/src/ptlib/unix' OK... make will look in src/ptlib/unix for the Makefile, Makefile:209: /home/jhou/pwlib/make/unix.mak: No such file or directory What does line 209 of src/ptlib/unix/Makefile have in it? I'm wondering if there's some $HOME/src/pwlib/make/unix.mak, or some variant. grep: /home/jhou/pwlib/version.h: No such file or directory ... make: *** [both] Error 2 this may have to do with symlinks but I am really not sure. What symlinks do you have set up? also Tried to make as root but still get the same error (except for the directory /home/* it's changed to /root/pwlib/blah... This strengthens my suspicion of some derivation of $HOME to get your working directory. Maybe you should (from $HOME) ln -s /mnt/export/pwlib pwlib, then cd pwlib, and try your make -C ...