LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2010, 03:49 AM   #1
tuwim
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
Problem locating installation directory for preinstalled RPM packages (OpenSUSE 11.1)


Hi!

When configuring certain programs for compilation from source it's required to include path to required libraries/packages. I don't know how to obtain that information. For example, how do I know the installation prefix for openssl on my system? It's not in the default directory (/usr/local/openssl). Any help with that would be highly appreciated.
 
Old 09-12-2010, 06:53 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ. .. .. ..

/usr/local/ is not default. usr/ is : /usr/lib , /usr/include.

Compiling a program, that needs openssl : First thing to do is :
1) su ; 2) zypper in libopenssl-devel
.... to have the openssl developing files installed.

The command : 'rpm -ql <package-name>' will show the file locations.
$ rpm -ql libopenssl-devel : The files are in standard locations,
no need to tell 'configure', where to find the files.
That's an option to use, when the files are in a "non standard" place.

The command : rpm -qa | sort > installed-rpms
.. will save an alphabetic list with all installed packages,
so you can know their "package names".
..

Last edited by knudfl; 09-12-2010 at 06:57 AM.
 
1 members found this post helpful.
Old 09-12-2010, 07:35 AM   #3
tuwim
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Hi! Thanks for quick response! I find it very helpful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installation problem of rpm packages chinmayee Linux - Software 14 01-30-2008 12:56 AM
installation problem of rpm packages chinmayee Linux - Distributions 1 01-28-2008 04:55 AM
installation problem of rpm packages chinmayee Linux - General 1 01-28-2008 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration