Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to generate (or obtain) the *.la library files

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  anyone have multiple virtual hosts over SSL worki..  
Author Message
L. D. James

External


Since: Feb 23, 2008
Posts: 5



(Msg. 1) Posted: Sat Feb 23, 2008 11:48 am
Post subject: How to generate (or obtain) the *.la library files
Archived from groups: alt>apache>configuration (more info?)

Can someone help? I'm moving my apache server from an older machine.
Some years ago I build everything from the package. Running the
configure routine goes fine. However, when I attempt to run "make" it
errors from a number of needed library files such as:

libtool: link: cannot find the library `/usr/lib/libgdbm.la'

I have the following files in my /usr/lib directory:

libgdbm.a libgdbm.so libgdbm.so.2 libgdbm.so.2.0.0

I'm having trouble recalling how I obtained the *.la file. Looking at
my old hard drive I see the file there in the /usr/lib directory.
Copying it to my new drive will succeed in the "make" option going
further. Then it comes to another *.la file.

Can someone help me to know how the *.la files are generated (or
properly obtained).

I'm trying to compile the httpd-2.2.8 package.

Thanks a lot for any suggestions or comments.

-- L. James

--
L. D. James
ljames.DeleteThis@apollo3.com
www.apollo3.com/~ljames

 >> Stay informed about: How to generate (or obtain) the *.la library files 
Back to top
Login to vote
L. D. James

External


Since: Feb 23, 2008
Posts: 5



(Msg. 2) Posted: Sat Feb 23, 2008 12:18 pm
Post subject: Re: How to generate (or obtain) the *.la library files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Feb 23, 2:54 pm, Davide Bianchi <davideyeahs....RemoveThis@onlyforfun.net>
wrote:
> On 2008-02-23, L. D. James <lja....RemoveThis@apollo3.com> wrote:
>
> > libtool: link: cannot find the library `/usr/lib/libgdbm.la'
>
> You need the -devel packages for the library.

Thanks, Davide. I'm not sure which -devel packages you're referring
to. Is it the libtool's -devel package or the -devel package for each
of the packages that has the *.la extension. The latter is what I
originally thought. So I thought this was installing the development
package when I installed the gdbm-devel-1.8.0-27.fc7.i386.rpm package.

I attempted a reinstall of both gdbm-1.8.0-27.fc7.i386.rpm and gdbm-
devel-1.8.0-27.fc7.i386.rpm to try to insure they were installed
properly. Both gave the similar response:

rpm -iv gdbm-devel-1.8.0-27.fc7.i386.rpm
warning: gdbm-devel-1.8.0-27.fc7.i386.rpm: Header V3 DSA signature:
NOKEY, key ID 4f2a6fd2
Preparing packages for installation...
package gdbm-devel-1.8.0-27.fc7 is already installed

I guess my question is, after installing the -devel package, is there
something else that has to be done to generate the *.la file?

Thanks again for the prompt response.

-- L. James

--
L. D. James
ljames.RemoveThis@apollo3.com
www.apollo3.com/~ljames

 >> Stay informed about: How to generate (or obtain) the *.la library files 
Back to top
Login to vote
L. D. James

External


Since: Feb 23, 2008
Posts: 5



(Msg. 3) Posted: Sat Feb 23, 2008 5:03 pm
Post subject: Re: How to generate (or obtain) the *.la library files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Can someone tell me how to force Apache httpd-2.2.8 to search /usr/
local/lib rather than /usr/lib when compiling.

I downloaded and installed gdbm-1.8.3.tar.gz to /usr/local/lib.

I used the following configure option:

../configure --libdir=/usr/local/lib

It configures without any error messages. Then when I run "make" I
get the following error:

libtool: link: cannot find the library `/usr/lib/libgdbm.la'

The "libgdbm.la" file is in /usr/local/lib.

Thanks in advance for any suggestions or comments.

-- L. James

--
L. D. James
ljames RemoveThis @apollo3.com
www.apollo3.com/~ljames
 >> Stay informed about: How to generate (or obtain) the *.la library files 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2994



(Msg. 4) Posted: Sat Feb 23, 2008 6:04 pm
Post subject: Re: How to generate (or obtain) the *.la library files [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

Back to top
Login to vote
L. D. James

External


Since: Feb 23, 2008
Posts: 5



(Msg. 5) Posted: Sun Feb 24, 2008 12:34 pm
Post subject: Re: How to generate (or obtain) the *.la library files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Feb 24, 10:37 am, "phantom" <nob... RemoveThis @blueyonder.invalid> wrote:
> "L. D. James" <lja... RemoveThis @apollo3.com> wrote in messagenews:50a954f2-d753-4acc-8ea6-e576d014b2f4@j28g2000hsj.googlegroups.com...
>
> > Can someone tell me how to force Apache httpd-2.2.8 to search /usr/
> > local/lib rather than /usr/lib when compiling.
>
> > I downloaded and installed gdbm-1.8.3.tar.gz to /usr/local/lib.
>
> > I used the following configure option:
>
> > ./configure --libdir=/usr/local/lib
>
> > It configures without any error messages. Then when I run "make" I
> > get the following error:
>
> > libtool: link: cannot find the library `/usr/lib/libgdbm.la'
>
> > The "libgdbm.la" file is in /usr/local/lib.
>
> one method would be to put a symlink where libtool is looking that points to
> where you've installed the file:
> ln -s /usr/local/lib/libgdbm.la /usr/lib/libgdbm.la
>
> another would be to simply copy the file to where libtool is expecting it:
> cp /usr/local/lib/libgdbm.la /usr/lib/libgdbm.la
>
> or maybe rebuild after using configure with the path libtool is expecting:
> ./configure --libdir=/usr/lib

Phanton, thanks for the input and suggestions. I had already done the
things that you mentioned. I'm doing them again to see if there was
something I missed. I'll also mention the other things that I have
done to try to remove this problem.

I'm really wondering where Apache is getting this notion to search /
usr/lib when all the programs that I install are all installed with
the /usr/local prefix. I haven't installed anything in /usr/lib.

The link and copy option appears to work. But there is some type of
version confusion when I try to start the server. It fails to start.

I installed everything fresh in /usr/local. The things I freshly
installed includes:

perl-5.8.8.tar.gz: /usr/local
httpd-2.2.8.tar.bz2: /usr/local
libtool-1.5.26.tar.gz: /usr/local
gdbm-1.8.3.tar.gz: /usr/local

I set the following link library flag:

export LDFLAGS="-L/usr/local/lib"

I cleaned and attempted to compile apache as such:

make distclean
../configure --libdir=/usr/local/lib
make

The configure completes without errors. The "make" errors with:

libtool: link: cannot find the library `/usr/lib/libgdbm.la'

Is there something else that I can do to force apache to forget /usr/
lib and use /usr/local/lib instead? I don't want to completely remove
the distributed /usr/lib because there are many default programs that
I didn't install that I'm sure are depended on the already installed
version.

By the way, this is a brand new installation of fedora core 8 on a
freshly installed hard drive.

Thanks in advance for anyone with advice. Is there something hard
coded about apache that makes it totally depended on looking at /usr/
lib?

-- L. James

--
L. D. James
ljames RemoveThis @apollo3.com
www.apollo3.com/~ljames
 >> Stay informed about: How to generate (or obtain) the *.la library files 
Back to top
Login to vote
phantom

External


Since: Aug 23, 2007
Posts: 66



(Msg. 6) Posted: Sun Feb 24, 2008 3:04 pm
Post subject: Re: How to generate (or obtain) the *.la library files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"L. D. James" <ljames.RemoveThis@apollo3.com> wrote in message
news:50a954f2-d753-4acc-8ea6-e576d014b2f4@j28g2000hsj.googlegroups.com...
> Can someone tell me how to force Apache httpd-2.2.8 to search /usr/
> local/lib rather than /usr/lib when compiling.
>
> I downloaded and installed gdbm-1.8.3.tar.gz to /usr/local/lib.
>
> I used the following configure option:
>
> ./configure --libdir=/usr/local/lib
>
> It configures without any error messages. Then when I run "make" I
> get the following error:
>
> libtool: link: cannot find the library `/usr/lib/libgdbm.la'
>
> The "libgdbm.la" file is in /usr/local/lib.
>
one method would be to put a symlink where libtool is looking that points to
where you've installed the file:
ln -s /usr/local/lib/libgdbm.la /usr/lib/libgdbm.la

another would be to simply copy the file to where libtool is expecting it:
cp /usr/local/lib/libgdbm.la /usr/lib/libgdbm.la

or maybe rebuild after using configure with the path libtool is expecting:
../configure --libdir=/usr/lib
 >> Stay informed about: How to generate (or obtain) the *.la library files 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
any idea what causes apache to generate these empty files? - I got a nasty surpise in my /var/tmp folder when I logged in and saw something like 40 000 empty files like the ones below. /var/tmp >ls -la -rw------- 1 www wheel 0 May 7 11:00 2LpZPP -rw------- 1 www wheel 0 May 7 11:00 423ub6..

ssl library - Hello, I configured my apache from source on solaris. I used modssl but when I start it I get. Cannot load /usr/local/apache/libexec/libssl.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: libssl.so.0.9.7: open failed: No such file or..

GD library on redhat 9 - I get this errormsg "undeclared function" using the php function imagecreatefromjpeg() on a plesk 6 server after redhat has been upgraded from 7 to 9 and php from 4.2 to 4.3. The server has some vhost security settings which might make a dif...

Unable to load dynamic library - Having crossed swords with MySQL I am now trying to install and setup Apache and PHP. While Apache installed ok and the window indicates that it is running ok and as a third check I have accessed the server from outside and got and edited the default...

generate csr - openssl or mod_ssl? - i need to reissue my client's ssl certificate for their new hosting provider (moving from iis to apache and i have the csr) thawte is asking whether to reissue the certificate for either: - Apache ModSSL or... - Apache (Ben-SSL, not Stronghold) i'm..
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]