Question about Running Libraries on linux

This is a discussion about Question about Running Libraries on linux in the Everything Linux category; 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.

Everything Linux 1800 This topic was started by , . Last reply by ,


data/avatar/default/avatar13.webp

10 Posts
Location -
Joined 2003-06-26
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.

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jun 30
Created
Jul 1
Last Response
0
Likes
1 minute
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar24.webp

13 Posts
Location -
Joined 2003-05-03
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.

data/avatar/default/avatar13.webp

10 Posts
Location -
Joined 2003-06-26
OP
Your response has been very educational, thank you for explaining how libraries work.