[Mono-list] libmono-2-0.a in libmono-dev CentOS package?

Alexander Köplinger alexander.koeplinger at xamarin.com
Sat Feb 20 00:17:58 UTC 2016


Adding Jo who maintains the Linux packages.

Jo: should we start distributing the .a files given that they're required
for mkbundle?

AFAIK we ship the equivalent .lib files on the Windows MSI.

- Alex

2016-02-18 8:40 GMT+01:00 Timotheus Pokorra <
timotheus.pokorra at solidcharity.com>:

> Hello Eugene,
>
> > The static mono library (libmono-2.0.a) doesn’t appear in any package on
> the
> > official mono CentOS (download.mono-project.com/repo/centos). This
> prevents
> > us from using mkbundle –static in our CentOS environments. Is this on
> > purpose or are we just missing something? Also, what’s the recommended
> work
> > around other than switching to Debian or Ubuntu?
>
> see the source of the rpm file:
>
> https://github.com/mono/linux-packaging-mono/blob/centos/mono-core.spec#L189
>
> # remove .a files for libraries that are really only for us
> rm -f %{buildroot}%{_libdir}/libMonoPosixHelper.a
> rm -f %{buildroot}%{_libdir}/libikvm-native.a
> rm -f %{buildroot}%{_libdir}/libmono-llvm.a
> rm -f %{buildroot}%{_libdir}/libmono-2.0.a
> rm -f %{buildroot}%{_libdir}/libmonoboehm-2.0.a
> rm -f %{buildroot}%{_libdir}/libmonosgen-2.0.a
>
> I just checked, we do the same for the Mono packages for Fedora:
> http://pkgs.fedoraproject.org/cgit/rpms/mono.git/tree/mono.spec#n316
>
> I have not used mkbundle before, and I don't know what "libraries that
> are really only for us" means.
>
> Would it not be better to just require a dependancy on Mono in your
> application instead of using mkbundle?
>
> All the best,
>   Timotheus
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20160220/9a698708/attachment-0001.html>


More information about the Mono-list mailing list