[mapserver-users] Why does yum continue to complain about a missing dependency that is already installed?

Kihlberg, Jesper jekih at gst.dk
Mon Sep 16 06:52:17 PDT 2013


Hi

I have a self-created rpm for mapserver 6.2.1 that I want to support Oracle, but I am having a lot of difficulties getting it all to work.
I have installed the oracle-instantclient12.1-basic-12.1.0.1.0-1.x86_64 as an rpm, and the sdk and sqlplus as zip files in my ORACLE_HOME. This seemed to be the only way to ensure the sdk files is at the correct location, for mapserver to recognize.
So my mapserver rpm builds but when I try to install it on the build server, it complains:

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mapserver.x86_64 0:6.2.1-2 will be updated
--> Processing Dependency: mapserver = 6.2.1-2 for package: mapserver-perl-6.2.1-2.x86_64
--> Processing Dependency: mapserver = 6.2.1-2 for package: mapserver-python-6.2.1-2.x86_64
---> Package mapserver.x86_64 0:6.2.1-12.el6 will be an update
--> Processing Dependency: libclntsh.so.12.1()(64bit) for package: mapserver-6.2.1-12.el6.x86_64
--> Running transaction check
---> Package mapserver.x86_64 0:6.2.1-12.el6 will be an update
--> Processing Dependency: libclntsh.so.12.1()(64bit) for package: mapserver-6.2.1-12.el6.x86_64
---> Package mapserver-perl.x86_64 0:6.2.1-2 will be updated
---> Package mapserver-perl.x86_64 0:6.2.1-12.el6 will be an update
---> Package mapserver-python.x86_64 0:6.2.1-2 will be updated
---> Package mapserver-python.x86_64 0:6.2.1-12.el6 will be an update
--> Processing Dependency: libclntsh.so.12.1()(64bit) for package: mapserver-python-6.2.1-12.el6.x86_64
--> Finished Dependency Resolution
Error: Package: mapserver-6.2.1-12.el6.x86_64 (geodata)
       Requires: libclntsh.so.12.1()(64bit)
Error: Package: mapserver-python-6.2.1-12.el6.x86_64 (geodata)
       Requires: libclntsh.so.12.1()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Obviously libclntsh.so.12.1 is already installed through yum and located at the exact same spot as when the package was built.
What am I doing wrong?


Med venlig hilsen 

Jesper Kihlberg 
AC specialist
Leveranceinfrastruktur 
Dir tlf.: (+45) 72 54 52 27 
jekih at gst.dk 



Rentemestervej 8 
DK - 2400 København NV 
Tlf.: (+45) 72 54 50 00 
www.gst.dk 



More information about the mapserver-users mailing list