Opened 4 years ago

Last modified 4 years ago

#14464 new enhancement

pkg-config not recognizing libssh2 library

Reported by: nacarino Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Attitude Adjustment 12.09
Keywords: libssh2 pkg-config configure Cc:


Hello all,

When I was trying to compile a simple package to use libssh2, pkg-config kept saying that I didn't have the library installed. This seemed odd because I had clearly compiled the package.

After fighting with the OpenWRT makefiles, I found that the libssh2 Makefile for OpenWRT does not copy libssh2.pc which would make any search of the library via pkg-config unsuccessful.

Attachments (1)

libssh2-pkg-config.patch (664 bytes) - added by nacarino 4 years ago.
Added libssh2.pc to libssh2 package

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by nacarino

Added libssh2.pc to libssh2 package

comment:1 Changed 4 years ago by nacarino

Sorry for the double post, I'm new to Trac.

I modified the libssh2 OpenWRT makefile to copy libssh2.pc in the Package/InstallDev section of the makefile.

That solved my particular compiling problem. I am not sure if how I solved the issue goes with the OpenWRT makefile style.

Attached to this post is the changes I made.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.