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

?????? 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 Paul Smith
On Mon, 2024-01-01 at 04:20 +0800, lijh8 wrote: > 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 way should I follow? First, I don't think this is

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