Bug 13350 - Removing *.la files from freehdl package breaks digital circuit simulation
Summary: Removing *.la files from freehdl package breaks digital circuit simulation
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-09 12:48 CEST by Oleg Bosis
Modified: 2014-05-25 11:24 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Simple digital circuit for qucs for testing digital simulation using freehdl (1.51 KB, application/octet-stream)
2014-05-09 12:48 CEST, Oleg Bosis
Details

Description Oleg Bosis 2014-05-09 12:48:42 CEST
Created attachment 5140 [details]
Simple digital circuit for qucs for testing digital simulation using freehdl

I've tried to use freehdl (with qucs as a gui) for digital circuit simulation and encountered two problems:

1. 'freehdl-config --libtool' and 'freehdl-config --ieee' commands return strings with non-existant *.la files. This breaks compilation of digital simulation.

The error message is:

libtool: link: cannot find the library `/usr/lib64/libfreehdl-kernel.la' or unhandled argument `/usr/lib64/libfreehdl-kernel.la'

If I fix the freehdl-config by replacing *.la files with corresponding *.so files then I see the second problem:

2. libieee.so* files are placed in non-standard $libdir/freehdl folder which prevents finding them in runtime if simulation was linked without libieee.la file.
Comment 1 Jani Välimaa 2014-05-09 17:48:13 CEST
Seems qucs is also missing some requires. I'll check this.

CC: (none) => jani.valimaa

Comment 2 Oleg Bosis 2014-05-09 19:15:07 CEST
(In reply to Jani Välimaa from comment #1)
> Seems qucs is also missing some requires. I'll check this.

qucs should require freehdl-devel (and thus g++ and libstdc++-devel) to run digital circuit simulation as it uses some C++ source code generation and compilation. Analog circuit simulation doesn't require it.
Comment 3 Jani Välimaa 2014-05-10 07:01:19 CEST
Pushed new release of freehdl which should fix the issue. Added also some reqs to qucs.
Comment 4 Jani Välimaa 2014-05-25 11:24:06 CEST
I'm closing this as fixed. Feel free to reopen if needed.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.