Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

175
Vistas
Setting linker preferences for multiple shared libraries of same name

I link my application against multiple shared libraries, one of which is Google's gRPC, which in turn links against boringSSL. I also link against other libraries, which in turn link against OpenSSL. In the end, calling ldd on my binary and grepping for ssl gives:

    libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f62f35c8000)
    libssl.so => /usr/local/grpc/lib/libssl.so (0x00007f62f28b6000)

I would rather not statically link against gRPC and friends. Is there a way I can set preferences that the second result should be used for gRPC only and the first for everything else?

I am using CMake as a build project, if that helps.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda