how to create a package of library

6 views
Skip to first unread message

Jack_5

unread,
Apr 3, 2014, 7:05:01 AM4/3/14
to alche...@googlegroups.com
How to create a package of library.
I've created package but when I tested it with pkglint, the following error was shown:

"Public library without soname :
lib/libmp3.1.so
see policy 2.2"

but I don't know how to remove this error.
What should I put in PACKAGE file

Sergey Basalaev

unread,
Apr 3, 2014, 7:28:48 AM4/3/14
to alche...@googlegroups.com
В письме от 3 апреля 2014 04:05:01 пользователь Jack_5 написал:
You should compile library with option "-slibmp3.1.so"
This will add soname to the resulting binary file.

Jack_5

unread,
Apr 3, 2014, 11:51:27 AM4/3/14
to alche...@googlegroups.com
thanx for helping. I've compiled with -slibmp3.1.so and it worked perfectly...I'll send the package file soon...by the way the library I've created is to read tags (such as title, author, album, etc.) from mp3 files...

Sergey Basalaev

unread,
Apr 3, 2014, 11:18:18 PM4/3/14
to alche...@googlegroups.com
Great! May be in this case it should have less ambiguous name,
say libmp3tags?

Jack_5

unread,
Apr 5, 2014, 2:18:47 PM4/5/14
to alche...@googlegroups.com
I've renamed libmp3 to libmp3tags and sent the libmp3tags package and mpl package via email. If there is no error in packages then upload them to alchemy os package database...
Reply all
Reply to author
Forward
0 new messages