linux - Architecture based OpenSSL package to be removed -
i trying build rpm using source code of open source tool. while doing , see below error :
gcc -o9 -march=x86-64 -wall -wmissing-prototypes -wpointer-arith -wdeclaration-after-statement -wendif-labels -fno-strict-aliasing -fwrapv dbutils.o config.o repmgrd.o log.o strutil.o -l/opt/app/ionix/smarts-ncm/db/controldb/lib -lpgport -l/opt/app/ionix/smarts-ncm/db/controldb/lib -lpq -l/opt/app/ionix/smarts-ncm/db/controldb/lib -wl,-rpath,'/opt/app/ionix/smarts-ncm/db/controldb/lib',--enable-new-dtags -lpgport -lpam -lssl -lcrypto -lz -lreadline -ltermcap -lcrypt -ldl -lm -o repmgrd /usr/bin/ld: **cannot find -lssl** upon doing research , understood it's because there multiple openssl packages ( different architecture ) installed on machine :
rpm -qa --queryformat '%{name}\t%{arch}\n' | grep openssl openssl097a i386 openssl x86_64 openssl i686 the question , openssl package can remove here , how ? there many dependencies might affect other packages well. how can ignore not uninstall/remove dependencies. , tried uninstall packages of openssl on server , ran bigger problem. cant access system want 100% sure time. there way find out 1 of above in active / enabled state ?
here's details of machine working on :
2.6.18-371.el5 #1 smp mon sep 30 16:34:30 pdt 2013 x86_64 x86_64 x86_64 gnu/linux thanks , bhavin
Comments
Post a Comment