how to tell the system to use my self compiled library

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

how to tell the system to use my self compiled library

Postby Spinnifex » Oct 8th, '24, 01:58

Hello.

My question is.
How can I tell my system that it should use a newer version of a library.
Let's say
Code: Select all
pcsclite

Which is installed via dnf in version 1.9.9 and self compiled in 2.3.0.
Or is this already done when I compiled the library?
There is a deamon - pcscd - which is used by smart cards.
How can I check whether this service is now 2.3.0 ?

Regards
Spinnifex
Spinnifex
 
Posts: 141
Joined: Nov 25th, '19, 12:38
Location: Europe / Potsdam

Re: how to tell the system to use my self compiled library

Postby sturmvogel » Oct 8th, '24, 06:37

After „compiling“ you need to install it…
sturmvogel
 
Posts: 738
Joined: Jul 30th, '12, 00:39

Re: how to tell the system to use my self compiled library

Postby doktor5000 » Oct 9th, '24, 17:17

Sounds like a typical XY problem to me ...

Depends how you compiled pcsclite. By default libraries, binaries and such are installed to the default prefix which is /usr/local so it does not overwrite any system libraries/binaries.
If you want something to use such a newer library no matter where you installed it, you usually have to recompile that other application, as it mostly links to a specific version of a library or requires specific symbols from a library.
As you provided no further details how you compiled and/or installed pcsclite or why you need a newer version and what for, no way to help you further.

If you want to know the version of pcscd simply run
Code: Select all
pcscd -v
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18041
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron