[mapguide-users] Re: RHEL4 - libcurl problem (title corrected)

Casey Townsend Casey.Townsend at tucsonaz.gov
Thu Mar 29 11:59:32 EDT 2007


Thanks for teaching me something new, but it didn't work:

[root at mapguidedev web]# pwd
/media/cdrom/web
[root at mapguidedev web]# ldd -r
mapguideenterprise2007-webextension-1.0.0.17804-1.i386-rpm.bin
        not a dynamic executable
[root at mapguidedev web]#

Probably, I just don't understand how do this correctly?

>>> "Traian Stanev" <traian.stanev at autodesk.com> 3/29/2007 8:22 AM >>>

You can try running ldd -r on the Mapguide executable to see if indeed
it is missing some function from curl.


Traian


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org 
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Casey
Townsend
Sent: Thursday, March 29, 2007 11:11 AM
To: mapguide-users at lists.osgeo.org 
Subject: [mapguide-users] Re: mapguide-users Digest, Vol 3, Issue 121

Thanks for the reply Walt. I have a symlink from libcurl.so.2 that I
added, everything else looks the same:
(didn't work with or without the so.2 link)

[root at mapguidedev lib]# pwd
/usr/lib
[root at mapguidedev lib]# ls -al|less
<snip>
-rw-r--r--    1 root root      255310 Dec 20  2005 libcurl.a
lrwxrwxrwx    1 root root          16 Mar 27 16:11 libcurl.so ->
libcurl.so.3.0.0
lrwxrwxrwx    1 root root          16 Mar 28 16:48 libcurl.so.2 ->
libcurl.so.3.0.0
lrwxrwxrwx    1 root root          16 Mar 27 15:34 libcurl.so.3 ->
libcurl.so.3.0.0
-rwxr-xr-x    1 root root      192768 Dec 20  2005 libcurl.so.3.0.0
</snip>


For the record, the error is:
(from /media/cdrom/web# ./setup)

<snip>
D: opening  db index      
/usr/lib/rpmdb/i386-redhat-linux/CentOS/Packages rdonly mode=0x0
D: opening  db index      
/usr/lib/rpmdb/i386-redhat-linux/CentOS/Providename rdonly mode=0x0
D:  Requires: libcurl.so.2                                  NO
D: package mapguideenterprise2007-webextension-1.0.0.17804-1.i386 has
unsatisfied Requires: libcurl.so.2
D:  read h#     498 Header V3 DSA signature: OK, key ID 443e1821
</snip>

<snip>
D: closed   db index       /var/lib/rpm/Basenames
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
error: Failed dependencies:
        libcurl.so.2 is needed by
mapguideenterprise2007-webextension-1.0.0.17804-1.i386
D: ========== recording tsort relations
D:  Requires: libACE.so.5.4.0                               YES (added
provide)
D: ignore package name relation(s) [0]  libtermcap -> bash
D: ignore package name relation(s) [1]  modutils -> vixie-cron
D: ignore package name relation(s) [2]  ypbind -> yp-tools
</snip>


Date: Wed, 28 Mar 2007 20:09:24 -0400
From: "Walt Welton-Lair" <walt.welton-lair at autodesk.com>
Subject: RE: [mapguide-users] linking libcurl.so.2 to libcurl.so.3 ?
To: "MapGuide Users Mail List" <mapguide-users at lists.osgeo.org>
Message-ID:
	
<A4F4647B12DBAD40B07041547CA2526408F6538E at msgusaebk01.autodesk.com>
Content-Type: text/plain;	charset="us-ascii"

What does the libcurl.so symlink point to?  It should look something
like the following:

-rw-r--r--  1 284100 Dec 12  2005 libcurl.a
lrwxrwxrwx  1     16 Mar 13 22:24 libcurl.so -> libcurl.so.3.0.0
lrwxrwxrwx  1     16 Mar 13 22:24 libcurl.so.3 -> libcurl.so.3.0.0
-rwxr-xr-x  1 214952 Dec 12  2005 libcurl.so.3.0.0 

This is from a Fedora 4 machine, and I run MG OpenSource on it w/o
problems.

Walt

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org 
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Casey
Townsend
Sent: Thursday, March 29, 2007 2:02 AM
To: mapguide-users at lists.osgeo.org 
Subject: [mapguide-users] linking libcurl.so.2 to libcurl.so.3 ?

I'm trying to run MapGuide Enterprise on centos4.4
<http://www.centos.org/> which is the equivalent to RHEL 4.

Yes, I know it is setup for RHEL 3, but the only problem seems to be
that libcurl.so.2 has been replaced by libcurl.so.3. Reading the cURL
list - the API didn't change, mostly just deprecated packages were
removed.

I tried creating a symlink in /usr/lib/ from libcurl.so.2 to
libcurl.so.3 and when that didn't work to libcurl.so.3.0.0. That
didn't
work either.

Any suggestions (other than use RHEL 3 !) ?

--------------------------------------------------
Casey Townsend
System Administrator
Department of Transportation
City of Tucson
casey.townsend at tucsonaz.gov 
520-837-6663
========================================


_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org 
http://lists.osgeo.org/mailman/listinfo/mapguide-users 


_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org 
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list