Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent the perl compiler from changing the name of dynamic link library

Tags:

raku

zef

I'm making a perl6 package which contains some c source files that will be compiled into a dynamic link library. I found that the name of the library, such as libperl.so, will be changed into something like "A858A3D6EC5363B3D3F59B1.so" after "zef install". However, the name is used in python code as a module name(libperl). After the change, it is no longer a valid identifier. So, is it possible to prevent the change? If it is, what should I do?

like image 381
lovetomato Avatar asked Jan 29 '19 12:01

lovetomato


1 Answers

I am not sure if it's possible to do that. Maybe it is. Inspired by @raiph's link, however, I decided to create a soft link. Now the package works well.

like image 135
lovetomato Avatar answered Sep 18 '22 12:09

lovetomato