LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-error-only-says-rpm-relocation-error-rpm-undefined-symbol-poptaliasoptions-116059/)

dlrsims 11-14-2003 04:01 PM

rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions"
 
every time I try to do anything with rpm I recieve the following error

[root@localhost root]# rpm -qa
rpm: relocation error: rpm: undefined symbol: poptAliasOptions
[root@localhost root]# rpm --help
rpm: relocation error: rpm: undefined symbol: poptAliasOptions
[root@localhost root]# rpm
rpm: relocation error: rpm: undefined symbol: poptAliasOptions
[root@localhost root]#


any help would be appreciated....


PS was working fine earlier ... did one rpm install for with command rpm -i libpopt-1.7-ipl1mdk.i586.rpm

and have gotten relocation undefined error ever since.

frogman 11-14-2003 08:06 PM

Re: rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions"
 
Quote:

Originally posted by dlrsims
every time I try to do anything with rpm I recieve the following error

[root@localhost root]# rpm -qa
rpm: relocation error: rpm: undefined symbol: poptAliasOptions

PS was working fine earlier ... did one rpm install for with command rpm -i libpopt-1.7-ipl1mdk.i586.rpm


From the poptAliasOptions part of the error, I'd guess the earlier install broke something or you got a bad .rpm

Use:

rpm -e libpopt-1.7-ipl1mdk.i586.rpm

to remove the package.

Then try rpm -qa.

Edit: I assume you're installing the package on a Mandrake system (mdk = mandrake)? Your user thingy says Red Hat.

dlrsims 11-14-2003 10:22 PM

Thank you for pointing out that it was a mandrake rpm... Actually I have Red Hat...I had to reinstall...cause I couldn't figure out why the rpm wouldn't work...and I tried to use the -e command and still got the error...it wouldn't even try to run rpm and I couldn't do anything that had to do with it...such as check for updates or even check what was installed...

The problem is fixed now...and I have learned what the initials were for..Thanks for your help..


All times are GMT -5. The time now is 01:30 AM.