How to create symlinks for shared library with soname

2023-12-31 Thread lijh8
Hi community, I just happen to notice that how symbolic links are created for library with soname. libtool creates both symlinks to the real library file.  But CMake creates one symlink to the real file and another symlink to the first symlink. I'm sticking with manual Makefile but which wa

?????? How to create symlinks for shared library with soname

2023-12-31 Thread lijh8
Hi, Paul! Thank you and happy new year!

Re:How to create symlinks for shared library with soname

2023-12-31 Thread lijh8
sorry, I was meant to send it to the help-make list.

Re: How to create symlinks for shared library with soname

2024-01-02 Thread lijh8
Hi Paul, I just come across the ldconfig manual. It seems it prefers the chained links like the CMake does too. ``` ldconfig expects a certain pattern to how the symbolic links are set up,  like this example, where the middle file (libfoo.so.1 here)  is  the SONAME for the library:     libfoo