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.
Page 1 of 1
Question about Running Libraries on linux
#2
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.
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.
#3
Posted 01 July 2003 - 04:25 PM
Your response has been very educational, thank you for explaining how libraries work.
Share this topic:
Page 1 of 1

Help










