#406: t/examples/library.t - pcre check flawed
---------------------+------------------------------------------------------
 Reporter:  coke     |       Owner:  petdance
     Type:  bug      |      Status:  new     
 Priority:  normal   |   Milestone:          
Component:  library  |     Version:          
 Severity:  medium   |    Keywords:          
     Lang:           |       Patch:  new     
 Platform:           |  
---------------------+------------------------------------------------------

Comment(by NotFound):

 In r40354 I added attempts to ldopen using the names libpcre.so and
 libpcre.so.3 if the plain libpcre fails. I think the last attempt will fix
 the problem, not because of the soname of the library but because of a
 dynamic link with that name exists, and the libpcre.so link is provided by
 the libpcre devel packages, not the plain libpcre ones, in a lot of
 systems.

 This is a generic problem for runtime linking, pkg-config and friends are
 intended for compile time linking, not for dlopen'ing. Anyway, providing
 the major version number of the intended library is not such a bad thing,
 it can avoid attempts to use abi incompatible versions.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/406#comment:9>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to