Ask Your Question

Obtain static libraries with yum [closed]

asked 2013-08-19 10:25:30 -0500

Modass gravatar image

updated 2013-08-20 02:59:02 -0500


I am currently trying to compile an own library in a static way which needs other libraries - one of them is cln. However, even if I install cln-devel, I cannot compile and get the error:

No rule to make target /usr/lib64/libcln.a', needed byXYZ'. Stop.

How can I fix this?

EDIT: Ok, the solution was to obtain cln directly and compile it manually to get a static version of it.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Modass
close date 2013-08-20 09:44:15.739053



You didn't post the error you got.

baptistemm gravatar imagebaptistemm ( 2013-08-19 15:07:17 -0500 )edit

The exact error would certainly be very useful.

FranciscoD_ gravatar imageFranciscoD_ ( 2013-08-19 21:26:47 -0500 )edit

Could you close the question if you found your solution ? thanks

baptistemm gravatar imagebaptistemm ( 2013-08-20 03:03:08 -0500 )edit

That's weird, you cannot close an own question, if you have little rep.

Modass gravatar imageModass ( 2013-08-20 04:58:35 -0500 )edit

Please provide the solution as an answer. Someone with enough karma can then mark it as correct.

FranciscoD_ gravatar imageFranciscoD_ ( 2013-08-20 05:52:18 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-08-20 06:45:22 -0500

Modass gravatar image

The solution is to obtain cln manually and compile and install it, such that the static version of the library is installed as well.

edit flag offensive delete link more


Here, have my vote :P

FranciscoD_ gravatar imageFranciscoD_ ( 2013-08-20 07:08:40 -0500 )edit

answered 2013-08-19 21:25:33 -0500

FranciscoD_ gravatar image

updated 2013-08-19 21:28:00 -0500

Fedora tries to not ship static libraries. Please read In some cases, packagers do provide static libraries. You can search yum for packages that provide static libraries: sudo yum list *static*

edit flag offensive delete link more

Question Tools


Asked: 2013-08-19 10:25:30 -0500

Seen: 1,740 times

Last updated: Aug 20 '13