Reputation: 863
I have one c++ Project that contains the principal binary that is : prog.CGI. This is linked to one shared library called : Core.so, I'd like to know if I can also link another shared library called : ext.so to Core.so because ext.so use structures defined into Core.so.
Upvotes: 1
Views: 568
Reputation: 428
Yes, shared libraries can be linked to other shared libraries, and commonly are. You can use ldd
to explore dependencies between them.
Upvotes: 1