[mapguide-users] Re: RHEL4 - libcurlproblem(titlecorrected)
Chris Gountanis
cgountanis at mpower-tech.com
Thu Mar 29 14:40:11 EDT 2007
I agree old un-supported Linux releases is bad.
Chris
-----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 12:38 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Re: RHEL4 - libcurlproblem(titlecorrected)
Ok, that's great for the future. I hope you'll also target RHEL5 as well
since it has now been released.
So, I tried to continue through the install...
[root at mapguidedev web]#
[root at mapguidedev web]# cd
/opt/Autodesk//mapguideenterprise2007/server//bin/
[root at mapguidedev bin]# ./mgserver.sh
/opt/Autodesk/mapguideenterprise2007/server/bin
/opt/Autodesk/mapguideenterprise2007/server/bin
Running the server interactively as an application instead of as a
service.
(9625|3086415552) Evaluation license detected. Evaluation will expire
in: 59 day(s).
(9625|3086415552) Cannot open repository:
/opt/Autodesk/mapguideenterprise2007/server/Repositories/Site/MgSiteResource
Contents.dbxml
Exception occurred in method MgRepository.VerifySafeDatabaseAccess at
line 76 in file Repository.cpp
sigh, I really don't want to use RHEL3 since it is now 2 generations
old and I don't want to set up a production system that is no longer
supported and may contain security holes. (Fedora Core 4 has the same
issue.)
>>> "Trevor Wekel" <trevor.wekel at autodesk.com> 3/29/2007 10:09 AM >>>
Hi everyone,
We build PHP with libcurl for running HTTP based unit tests. Future
releases of MapGuide will target RedHat 4 instead of RedHat 3 so this
issue should go away.
Thanks,
Trevor
-----Original Message-----
From: Traian Stanev
Sent: Thursday, March 29, 2007 10:47 AM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] Re: RHEL4 - libcurl
problem(titlecorrected)
There is an rpm option that lets you install without checking for
dependencies. However I don't know how useful that would be, since
it's
unlikely things will work without curl. I'm actually not sure
precisely
which component in the web extensions uses curl, may be someone else
can
help.
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 12:28 PM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] Re: RHEL4 - libcurl
problem(titlecorrected)
I successfully installed MapGuide Server (/media/cdrom/server#
./setup)
after I manually installed libstdc++.so.5 (yum install
libstdc++.so.5).
I'm now trying to install the Web Server Extensions.
The full output of /media/cdrom/web# ./setup is below. The specific
error is:
error: Failed dependencies:
libcurl.so.2 is needed by
mapguideenterprise2007-webextension-1.0.0.17804-1.i386
I'm sorry I don't know how to extract the rpm from the .bin file.
Thanks so much for your help.
[root at mapguidedev /media/cdrom/web]# ./setup ...
Do you agree to the above license terms? [yes or no] yes Unpacking...
Checksumming...
Done.
D: ==============
/root/mapguideenterprise2007-webextension-1.0.0.17804-1.i386.rpm
D: Expected size: 107877350 =
lead(96)+sigs(180)+pad(4)+data(107877070)
D: Actual size: 107877350
D: /root/mapguideenterprise2007-webextension-1.0.0.17804-1.i386.rpm:
MD5 digest: OK (5ae8abda733b3efdd3a9e9e23c07324e)
D: added binary package [0]
D: found 0 source and 1 binary packages
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: ========== +++ mapguideenterprise2007-webextension-1.0.0.17804-1
i386/linux 0x1
D: opening db index /var/lib/rpm/Depends create mode=0x0
D: opening db index /var/lib/rpm/Basenames rdonly mode=0x0
D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0
D: read h# 662 Header sanity check: OK
D: ========== DSA pubkey id a53d0bab443e1821
D: read h# 40 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: /bin/sh YES (db
files)
D: read h# 49 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: /usr/bin/perl YES (db
files)
D: Requires: libACE.so.5.4.0 YES (added
provide)
D: Requires: libCsmap.so.1 YES (added
provide)
D: Requires: libMgCommon.so.7 YES (added
provide)
D: Requires: libMgCoordinateSystem.so.7 YES (added
provide)
D: Requires: libMgHttpHandler.so.7 YES (added
provide)
D: Requires: libMgMdfModel.so.7 YES (added
provide)
D: Requires: libMgMdfParser.so.7 YES (added
provide)
D: Requires: libMgWebApp.so.7 YES (added
provide)
D: Requires: libapr-0.so.0 YES (added
provide)
D: Requires: libaprutil-0.so.0 YES (added
provide)
D: opening db index /var/lib/rpm/Providename rdonly mode=0x0
D: read h# 12 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: libc.so.6 YES (db
provides)
D: Requires: libc.so.6(GLIBC_2.0) YES (db
provides)
D: Requires: libc.so.6(GLIBC_2.1) YES (db
provides)
D: Requires: libc.so.6(GLIBC_2.1.2) YES (db
provides)
D: Requires: libc.so.6(GLIBC_2.1.3) YES (db
provides)
D: Requires: libc.so.6(GLIBC_2.2) YES (db
provides)
D: Requires: libc.so.6(GLIBC_2.2.3) YES (db
provides)
D: Requires: libc.so.6(GLIBC_2.3) YES (db
provides)
D: Requires: libc.so.6(GLIBC_2.3.2) YES (db
provides)
D: Requires: libc.so.6(GLIBC_2.3.3) YES (db
provides)
D: read h# 737 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: libcom_err.so.3 YES (db
provides)
D: Requires: libcrypt.so.1 YES (db
provides)
D: Requires: libcrypt.so.1(GLIBC_2.0) YES (db
provides)
D: read h# 663 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: libcrypto.so.4 YES (db
provides)
D: opening db environment
/usr/lib/rpmdb/i386-redhat-linux/CentOS/Packages joinenv
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
D: Requires: libdb-4.1.so YES (db
provides)
D: Requires: libdl.so.2 YES (db
provides)
D: Requires: libdl.so.2(GLIBC_2.0) YES (db
provides)
D: Requires: libdl.so.2(GLIBC_2.1) YES (db
provides)
D: read h# 20 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: libexpat.so.0 YES (db
provides)
D: Requires: libfcgi.so.0 YES (added
provide)
D: read h# 665 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: libgcc_s.so.1 YES (db
provides)
D: Requires: libgcc_s.so.1(GCC_3.0) YES (db
provides)
D: Requires: libgcc_s.so.1(GLIBC_2.0) YES (db
provides)
D: read h# 21 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: libgdbm.so.2 YES (db
provides)
D: read h# 73 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: libgssapi_krb5.so.2 YES (db
provides)
D: Requires: libk5crypto.so.3 YES (db
provides)
D: Requires: libkrb5.so.3 YES (db
provides)
D: Requires: libm.so.6 YES (db
provides)
D: Requires: libm.so.6(GLIBC_2.0) YES (db
provides)
D: Requires: libnsl.so.1 YES (db
provides)
D: Requires: libpthread.so.0 YES (db
provides)
D: Requires: libpthread.so.0(GLIBC_2.0) YES (db
provides)
D: Requires: libpthread.so.0(GLIBC_2.1) YES (db
provides)
D: Requires: libpthread.so.0(GLIBC_2.1.1) YES (db
provides)
D: Requires: libpthread.so.0(GLIBC_2.2) YES (db
provides)
D: Requires: libpthread.so.0(GLIBC_2.3.2) YES (db
provides)
D: Requires: libresolv.so.2 YES (db
provides)
D: Requires: libresolv.so.2(GLIBC_2.0) YES (db
provides)
D: Requires: libresolv.so.2(GLIBC_2.2) YES (db
provides)
D: Requires: librt.so.1 YES (db
provides)
D: Requires: librt.so.1(GLIBC_2.1) YES (db
provides)
D: Requires: libssl.so.4 YES (db
provides)
D: read h# 729 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: libstdc++.so.5 YES (db
provides)
D: Requires: libstdc++.so.5(CXXABI_1.2) YES (db
provides)
D: Requires: libstdc++.so.5(GLIBCPP_3.2) YES (db
provides)
D: Requires: libstdc++.so.5(GLIBCPP_3.2.2) YES (db
provides)
D: read h# 17 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: libuuid.so.1 YES (db
provides)
D: Requires: libxerces-c.so.27 YES (added
provide)
D: read h# 204 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: libxml2.so.2 YES (db
provides)
D: read h# 60 Header V3 DSA signature: OK, key ID 443e1821
D: Requires: libz.so.1 YES (db
provides)
D: Requires: perl >= 0:5.003 YES (db
provides)
D: Requires: perl(AnyDBM_File) YES (db
provides)
D: Requires: perl(Fcntl) YES (db
provides)
D: Requires: perl(strict) YES (db
provides)
D: Requires: rpmlib(CompressedFileNames) <= 3.0.4-1 YES
(rpmlib
provides)
D: Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 YES
(rpmlib
provides)
D: opening db index /var/lib/rpm/Conflictname rdonly mode=0x0
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Depends
D: closed db index /var/lib/rpm/Conflictname
D: closed db index /var/lib/rpm/Providename
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
D: ignore package name relation(s) [3] ghostscript-fonts ->
ghostscript
D: ignore package name relation(s) [4] libgnomeprint15 -> gnome-print
D: ignore package name relation(s) [5] nautilus -> nautilus-mozilla
D: ignore package name relation(s) [6] tcl -> postgresql-tcl
D: ignore package name relation(s) [7] arts -> kdelibs-sound
D: ignore package name relation(s) [8] pango-gtkbeta-devel ->
pango-gtkbeta
D: ignore package name relation(s) [9] XFree86 -> Mesa
D: ignore package name relation(s) [10] compat-glibc -> db2
D: ignore package name relation(s) [11] compat-glibc -> db1
D: ignore package name relation(s) [12] pam -> initscripts
D: ignore package name relation(s) [13] initscripts -> sysklogd
D: Requires: libCsmap.so.1 YES (added
provide)
D: Requires: libMgCommon.so.7 YES (added
provide)
D: Requires: libMgCoordinateSystem.so.7 YES (added
provide)
D: Requires: libMgHttpHandler.so.7 YES (added
provide)
D: Requires: libMgMdfModel.so.7 YES (added
provide)
D: Requires: libMgMdfParser.so.7 YES (added
provide)
D: Requires: libMgWebApp.so.7 YES (added
provide)
D: Requires: libapr-0.so.0 YES (added
provide)
D: Requires: libaprutil-0.so.0 YES (added
provide)
D: Requires: libfcgi.so.0 YES (added
provide)
D: Requires: libxerces-c.so.27 YES (added
provide)
D: ========== tsorting packages (order, #predecessors, #succesors,
tree,
depth)
D: 0 0 0 0 0
+mapguideenterprise2007-webextension-1.0.0.17804-1
D: closed db index
/usr/lib/rpmdb/i386-redhat-linux/CentOS/Providename
D: closed db index
/usr/lib/rpmdb/i386-redhat-linux/CentOS/Packages
D: closed db environment
/usr/lib/rpmdb/i386-redhat-linux/CentOS/Packages
>>> "Traian Stanev" <traian.stanev at autodesk.com> 3/29/2007 9:10 AM >>>
You need to try it on the "mgserver" executable, not the rpm. Actually
we need to backtrack a little. Does rpm even install mapguide or does
it
complain about the missing dependency?
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 12:00 PM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] Re: RHEL4 - libcurl problem
(titlecorrected)
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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