Ticket #208 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

pbc_to_exe --install needs to use the path to the installed libparrot

Reported by: doughera Owned by: rurban
Priority: normal Milestone:
Component: install Version: trunk
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

When building parrot with a shared libparrot.so, pbc_to_exe currently generates appropriate linker flags so that the resulting executable links against the libparrot in the build directory. When building an executable to be installed, it needs to set the rpath to the directory where libparrot will be installed instead. This currently affects parrot_config and pbc_to_exe itself.

Change History

Changed 6 years ago by rurban

  • status changed from new to assigned
  • owner set to rurban

Can you work on a patch?

Changed 6 years ago by rurban

The obvious fix I'm testing is:

--- tools/dev/pbc_to_exe_gen.pl (revision 35997)
+++ tools/dev/pbc_to_exe_gen.pl (working copy)
@@ -399,6 +399,7 @@
     goto config_cont
  config_install:
     config    .= 'install_config'
+    rpath     = $P0['rpath_lib']
  config_cont:
     config    .= o
     pathquote  = ''

Changed 6 years ago by rurban

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with r36054

Note: See TracTickets for help on using tickets.