Compatible Support Forums: Question about Running Libraries on linux

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Question about Running Libraries on linux

#1 User is offline   dwinn 

  • stranger
  • Group: Members
  • Posts: 10
  • Joined: 26-June 03

Posted 30 June 2003 - 04:33 PM

I've just successfully installed a library called CLHEP. However, there doesn't seem to be any sort of executible file and I became very confused. How does one open a library on the linux terminal?

Thank you.
0

#2 User is offline   Norman 

  • stranger
  • Group: Members
  • Posts: 13
  • Joined: 03-May 03

Posted 30 June 2003 - 11:53 PM

A library can not be run on its own. A library contains functions which are then called by an application. An example is gtk+ ( e.g. libgtk-*.so ). It is a library containig all the functions required to create, draw and use widgets - but to use them you have to write an application. So gtk+ applications use the function-library gtk+.

If you want to know on which libraries an app depends try

> ldd path/app

I hope this helps and sorry if I misunderstood your question.
0

#3 User is offline   dwinn 

  • stranger
  • Group: Members
  • Posts: 10
  • Joined: 26-June 03

Posted 01 July 2003 - 04:25 PM

Your response has been very educational, thank you for explaining how libraries work.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users