Locating installed packages?

  • Willy
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Jul 03, 2003
  • Posts: 199
  • Status: Offline

Post June 16th, 2005, 9:13 am

Recently I installed GD on a freebsd box from source.

I'm now compiling php, And the path I specified for GD is apparently not correct.

I can't figure out where it is thoug!?!

What is the best wya to figure out hwere packages install? gd isn't really a string i can just locate

Is there some kind of file that is left in the source directory that may let me know!?

Thanks

~~Willy
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 16th, 2005, 9:13 am

  • harryhood
  • Graduate
  • Graduate
  • No Avatar
  • Joined: May 15, 2004
  • Posts: 141
  • Status: Offline

Post June 17th, 2005, 8:59 am

try:

Code: [ Select ]
rpm -gl gd
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post June 18th, 2005, 6:24 am

I rather doubt that rpm -qa is going to help much since the system is freebsd and the owner probably installed via the port.

Normally, the default it /usr/local/lib though you could have installed it anywhere.

Obviously you're searching for libgd.so.* , so running a find could help as well.

Cheers.
"It's always a long day, 86,400 won't fit into a short."
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post June 18th, 2005, 1:47 pm

you could also try
Code: [ Select ]
whereis gd
OR
whereis libgd
  1. whereis gd
  2. OR
  3. whereis libgd

i believe. *shrug* best way to find out is to try :)
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post June 19th, 2005, 8:10 am

I doubt that 'whereis' will help much, since that command searches for binaries and source (along with man pages for said binary), not libraries.

Better off with find.
"It's always a long day, 86,400 won't fit into a short."
  • xtc
  • Novice
  • Novice
  • No Avatar
  • Joined: Dec 20, 2004
  • Posts: 34
  • Loc: London UK
  • Status: Offline

Post June 22nd, 2005, 12:12 pm

You should install it from source using the ports collection. That will give you the ability to track what you have installed using the pkgtools. For example.

/usr/ports/all/gd

make install clean

then

pkg_info

that will list the packages. the benefit of ports is that you can keep it updated very easily. Managed and you can track what you have.

There is a sysutil caled portupgrade that you can use very easily to keep it updated and all the other packages for that.

Thanks

X

http://forum.lucidnow.com/
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post June 22nd, 2005, 12:38 pm

xtc wrote:
You should install it from source using the ports collection. That will give you the ability to track what you have installed using the pkgtools. For example.

/usr/ports/all/gd

make install clean

then

pkg_info

that will list the packages. the benefit of ports is that you can keep it updated very easily. Managed and you can track what you have.

There is a sysutil caled portupgrade that you can use very easily to keep it updated and all the other packages for that.

Thanks

X

http://forum.lucidnow.com/


I concur that installing from the ports tree makes it much easier to manage source installations, however this user already installed via a source tarball, which means installing from the standard package, sans FBSD makefile, may cause severe conflicts if the previous source install is not sufficiently removed.
"It's always a long day, 86,400 won't fit into a short."

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 94 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.