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?
Asked
Active
Viewed 109 times
6
-
Maybe one of https://stackoverflow.com/search?q=%5Bperl6%5D+zef+resources are helpful? – raiph Jan 29 '19 at 14:11
-
@raiph Thank you for the link!!! I should have considered to create a soft link. – lovetomato Jan 29 '19 at 15:28
-
This is probably something that should be reported and dealt with specially. Zef does that with every module, but I guess some like these should bet special treatment, even if it's only printing the way to create that symbolic link as advised – jjmerelo Jan 29 '19 at 17:47
1 Answers
7
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.

lovetomato
- 903
- 5
- 11