views:

13

answers:

0

New to Ubuntu / Unix

I have a binary that links with libaprutil-1.so Now this inturn links with libapr1.so i guess.

Basically when i do ldd myapp, i get both of these listed.

Now, I have a folder where both of these are present. And i added a .conf file to /etc/ld.so.conf.d/my.conf and have a path to this folder in that file. THen i ran

sudo ldconfig.

The libapr1.so is present in some other location previously and when i do ldd myapp, i get the link to that location instead of the folder i have given

I would like to know how to get rid of that earlier link and link it to my new location.

Regards, AJ