Comments - Is it possible to build the library without dependency on libdl?

1 month, 2 weeks ago Cyrus Behroozi

Hi Daniel, I tried what you suggested. I modified my build script to the following: ``` test -e mariadb-connector-c || git clone cd mariadb-connector-c test -e build_amd64 || mkdir build_amd64 cd build_amd64

make -j4 make DESTDIR=./packaged install ```

After building, when I navigate to the directory containing the libraries and I run `ldd` I get the following output: ``` (0x00007ffdd22f7000) => /lib/x86_64-linux-gnu/ (0x00007f6ab2c3e000) => /lib/x86_64-linux-gnu/ (0x00007f6ab2a1f000) => /usr/lib/x86_64-linux-gnu/ (0x00007f6ab2792000) => /usr/lib/x86_64-linux-gnu/ (0x00007f6ab22c7000) => /lib/x86_64-linux-gnu/ (0x00007f6ab1ed6000) /lib64/ (0x00007f6ab30b2000) ```

It looks like `libdl` is still a dependency

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.