#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Posts
    2
    Rep Power
    0

    How to link 3 static library with shared library in linux


    Hi,
    i am new on linux plateform.

    my static library is present on path /root/raman/lib and contains
    Code:
    libabc.a libefg.a liblmn.a
    file

    and my shared library is present in /root/raman named as libshared.so

    i want to link shared library with static library.

    please send me Gcc command for that asap.
    thx in adv
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Posts
    2
    Rep Power
    0
    Originally Posted by ramandas
    Hi,
    i am new on linux plateform.

    my static library is present on path /root/raman/lib and contains
    Code:
    libabc.a libefg.a liblmn.a
    file

    and my shared library is present in /root/raman named as libshared.so

    i want to link shared library with static library.

    please send me Gcc command for that asap.
    thx in adv
    please guys help me
  4. #3
  5. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,379
    Rep Power
    1871
    After a simple search, I found this
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper

IMN logo majestic logo threadwatch logo seochat tools logo