ld-elf.so.1: Shared object "libsegsegv.so.2 not found", required by "asy"

Antonio Olivares olivares14031 at gmail.com
Wed Jan 6 14:16:36 UTC 2021


On Tue, Jan 5, 2021 at 2:35 PM Antonio Olivares <olivares14031 at gmail.com> wrote:
>
> On Tue, Jan 5, 2021 at 2:30 PM Paul Procacci <pprocacci at gmail.com> wrote:
> >
> > The error is most likely coming from Pythagoras.asy
> >
> > My lack of knowledge concerning asy won't be able to help you any further.
> > For that I apologize.
> >
> > ~Paul
> >
> > On Tue, Jan 5, 2021 at 3:22 PM Antonio Olivares <olivares14031 at gmail.com> wrote:
> >>
> >> On Tue, Jan 5, 2021 at 2:07 PM Paul Procacci <pprocacci at gmail.com> wrote:
> >> >
> >> > Install the package: gsl
> >> >
> >> > ;)
> >> >
> >> > ~Paul
> >> >
> >> > On Tue, Jan 5, 2021 at 2:53 PM Antonio Olivares <olivares14031 at gmail.com> wrote:
> >> >>
> >> >> On Tue, Jan 5, 2021 at 1:23 PM Paul Procacci <pprocacci at gmail.com> wrote:
> >> >> >
> >> >> > That's a pretty good observation.  My google search of libsegsegv found
> >> >> > libsigsegv and I didn't notice.
> >> >> >
> >> >> >
> >> >> > On Tue, Jan 5, 2021 at 2:06 PM @lbutlr <kremels at kreme.com> wrote:
> >> >> >
> >> >> > > On 05 Jan 2021, at 12:01, Paul Procacci <pprocacci at gmail.com> wrote:
> >> >> > > > The package that includes the shared object I believe is:  libsigsegv
> >> >> > >
> >> >> > > I assume the name in the subject is a typo then?
> >> >> > >
> >> >> > > --
> >> >> > > Once upon a time, a woman was picking up firewood. She came upon a
> >> >> > >         poisonous snake frozen in the snow. She took the snake home and
> >> >> > >         nurse it back to health. One day the snake bit her on the cheek.
> >> >> > >         As she lay dying, she asked the snake, "Why have you done this to
> >> >> > >         me?" And the snake answered, "Look, bitch, you knew I was a
> >> >> > >         snake."
> >> >> > >
> >> >> > > _______________________________________________
> >> >> > > freebsd-questions at freebsd.org mailing list
> >> >> > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> >> > > To unsubscribe, send any mail to "
> >> >> > > freebsd-questions-unsubscribe at freebsd.org"
> >> >> > >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > __________________
> >> >> >
> >> >> > :(){ :|:& };:
> >> >> > _______________________________________________
> >> >> > freebsd-questions at freebsd.org mailing list
> >> >> > https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> >> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> >> >>
> >> >> Thank you very much for your help.  I am closer to resolving the issue.
> >> >>
> >> >> root at eightcore:~ # pkg install libsigsegv
> >> >> Updating FreeBSD repository catalogue...
> >> >> FreeBSD repository is up to date.
> >> >> All repositories are up to date.
> >> >> The following 1 package(s) will be affected (of 0 checked):
> >> >>
> >> >> New packages to be INSTALLED:
> >> >>     libsigsegv: 2.12
> >> >>
> >> >> Number of packages to be installed: 1
> >> >>
> >> >> 18 KiB to be downloaded.
> >> >>
> >> >> Proceed with this action? [y/N]: y
> >> >> [1/1] Fetching libsigsegv-2.12.txz: 100%   18 KiB  18.0kB/s    00:01
> >> >> Checking integrity... done (0 conflicting)
> >> >> [1/1] Installing libsigsegv-2.12...
> >> >> [1/1] Extracting libsigsegv-2.12: 100%
> >> >> =====
> >> >> Message from libsigsegv-2.12:
> >> >>
> >> >> --
> >> >> Note that the stackoverflow handling functions of this library need
> >> >> procfs mounted on /proc.
> >> >> root at eightcore:~ # exit
> >> >> logout
> >> >> olivares at eightcore:~ $ which asy
> >> >> /usr/local/texlive/2020/bin/amd64-freebsd/asy
> >> >> olivares at eightcore:~ $ ls
> >> >> Desktop        Downloads    bin        share
> >> >> olivares at eightcore:~ $ cd Downloads/kerTeX/Documents/
> >> >> olivares at eightcore:~/Downloads/kerTeX/Documents $ ls *.asy
> >> >> Pythagoras.asy
> >> >> olivares at eightcore:~/Downloads/kerTeX/Documents $ asy Pythagoras.asy
> >> >> ld-elf.so.1: Shared object "libgsl.so.25" not found, required by "asy"
> >> >> olivares at eightcore:~/Downloads/kerTeX/Documents $ su -
> >> >> Password:
> >> >> root at eightcore:~ # pkg install libsegsegv
> >> >> Updating FreeBSD repository catalogue...
> >> >> FreeBSD repository is up to date.
> >> >> All repositories are up to date.
> >> >> pkg: No packages available to install matching 'libsegsegv' have been
> >> >> found in the repositories
> >> >> root at eightcore:~ # pkg install libsigsegv
> >> >> Updating FreeBSD repository catalogue...
> >> >> FreeBSD repository is up to date.
> >> >> All repositories are up to date.
> >> >> Checking integrity... done (0 conflicting)
> >> >> The most recent versions of packages are already installed
> >> >> root at eightcore:~ # exit
> >> >> logout
> >> >> olivares at eightcore:~/Downloads/kerTeX/Documents $ asy Pythagoras.asy
> >> >> ld-elf.so.1: Shared object "libgsl.so.25" not found, required by "asy"
> >> >> olivares at eightcore:~/Downloads/kerTeX/Documents $
> >> >>
> >> >> Now libgsl.so.25 is missing.
> >> >>
> >> >> Which package provides this?
> >> >>
> >> >> Best Regards,
> >> >>
> >> >>
> >> >> Antonio
> >> >
> >> >
> >> >
> >> > --
> >> > __________________
> >> >
> >> > :(){ :|:& };:\
> >>
> >> Dear Paul,
> >>
> >> I am getting closer to resolving this.  Now I get error:  error: could
> >> not load module 'plain'
> >>
> >>
> >> olivares at eightcore:~/Downloads/kerTeX/Documents $ asy Pythagoras.asy
> >> error: could not load module 'plain'
> >> olivares at eightcore:~/Downloads/kerTeX/Documents $ which tex
> >> /usr/local/texlive/2020/bin/amd64-freebsd/tex
> >> olivares at eightcore:~/Downloads/kerTeX/Documents $ which latex
> >> /usr/local/texlive/2020/bin/amd64-freebsd/latex
> >> olivares at eightcore:~/Downloads/kerTeX/Documents $ which asy
> >> /usr/local/texlive/2020/bin/amd64-freebsd/asy
> >> olivares at eightcore:~/Downloads/kerTeX/Documents $
> >>
> >> Best Regards,
> >>
> >>
> >> Antonio
> >
> >
> >
> > --
> > __________________
> >
> > :(){ :|:& };:
>
> Dear Sir,
>
> I appreciate the help.  I am much close to resolving the issue.  I see
> the gallery of asymptote here:
>
> https://asymptote.sourceforge.io/gallery/
>
> and I can run web application here:
>
> http://asymptote.ualberta.ca/
>
> But if internet goes down.  I cannot compile asymptote documents.  I
> am learning about asymptote.  I am not an expert, but I can do a bit
> of metapost documents, but I want to have another tool at my disposal
> and I can use the examples from the gallery to draw nice graphs.
> I searched for some help and I tried to apply the examples, but they
> did not help resolve the issue:
>
> olivares at eightcore:~/Downloads/kerTeX/Documents $ which asy
> /usr/local/texlive/2020/bin/amd64-freebsd/asy
> olivares at eightcore:~/Downloads/kerTeX/Documents $ setenv
> ASYMPTOTE_HOME /usr/local/texlive/2020/texmf-dist/asymptote/
> sh: setenv: not found
> olivares at eightcore:~/Downloads/kerTeX/Documents $ asy -vv
> Using configuration directory /home/olivares/.asy
> Using history /home/olivares/.asy/history
> Welcome to Asymptote version 2.65 (to view the manual, type help)
> cd /usr/home/olivares/Downloads/kerTeX/Documents
> error: could not load module 'plain'
> olivares at eightcore:~/Downloads/kerTeX/Documents $ kpsewhich
> --var-value=TEXMFMAIN
> /usr/local/share/texmf-dist
> olivares at eightcore:~/Downloads/kerTeX/Documents $ kpsewhich
> --var-value=ASYMPTOTE_HOME
>
> olivares at eightcore:~/Downloads/kerTeX/Documents $ ./kpsewhich
> sh: ./kpsewhich: not found
> olivares at eightcore:~/Downloads/kerTeX/Documents $ kpsewhich
> Missing argument. Try `kpsewhich --help' for more information.
> olivares at eightcore:~/Downloads/kerTeX/Documents $
>
> Best Regards,
>
>
> Antonio

I have found an example on the internet and I have created a file
~/.asy/config.asy
And I copied the settings now I am closer, do not get the error but
still not there yet:

olivares at cougar:~ $ cd .asy/
olivares at cougar:~/.asy $ ls
history
olivares at cougar:~/.asy $ ee config.asy

^[ (escape) menu  ^y search prompt  ^k delete line   ^p prev li   ^g prev page
^o ascii code     ^x search         ^l undelete line ^n next li   ^v next page
^u end of file    ^a begin of line  ^w delete word   ^b back 1 char
^t top of text    ^e end of line    ^r restore word  ^f forward 1 char
^c command        ^d delete                          ^z next word
=====line 2 col 64 lines fr                         ===========================
import settings;
dir="/usr/local/texlive/2020/texmf-dist/asymptote:/home/olivares/lib/asy";
outformat="pdf";
pdfviewer="xpdf";
prc=false;
offscreen=true;











"config.asy" 7 lines, 155 characters
olivares at cougar:~/.asy $ cd
olivares at cougar:~ $ cd Downloads/kerTeX/Documents/
olivares at cougar:~/Downloads/kerTeX/Documents $ asy Pythagoras.asy
^C
I have checked directories referenced:

olivares at cougar:~ $ ls -l /usr/local/texlive/2020/texmf-dist/asymptote/
total 842
-rw-r--r--  1 root  wheel   10830 Apr 21  2014 CAD.asy
drwxr-xr-x  5 root  wheel      32 Dec 18 08:04 GUI
-rw-r--r--  1 root  wheel      42 Jun  7  2009 animate.asy
-rw-r--r--  1 root  wheel    5254 Mar  1  2020 animation.asy
-rw-r--r--  1 root  wheel     578 Jun  7  2009 annotate.asy
-rw-r--r--  1 root  wheel     268 Jun  7  2009 asy-init.el
-rw-r--r--  1 root  wheel    8243 Mar 11  2013 asy-kate.sh
-rw-r--r--  1 root  wheel   17785 Mar 26  2020 asy-keywords.el
-rw-r--r--  1 root  wheel   71223 Apr  7  2016 asy-mode.el
-rw-r--r--  1 root  wheel    8870 Jun  7  2009 asy.vim
-rw-r--r--  1 root  wheel      99 Apr  8  2013 asy_filetype.vim
-rw-r--r--  1 root  wheel    1276 Mar  1  2020 asymptote.py
-rw-r--r--  1 root  wheel      51 Jun  7  2009 babel.asy
-rw-r--r--  1 root  wheel    9566 Apr  7  2016 bezulate.asy
-rw-r--r--  1 root  wheel   11482 Apr  8  2013 binarytree.asy
-rw-r--r--  1 root  wheel    5440 Feb 28  2019 bsp.asy
-rw-r--r--  1 root  wheel  174673 Mar  1  2020 colormap.asy
-rw-r--r--  1 root  wheel   20105 Apr 21  2014 contour.asy
-rw-r--r--  1 root  wheel   14660 Apr  7  2016 contour3.asy
-rw-r--r--  1 root  wheel    2109 Jun  7  2009 drawtree.asy
-rw-r--r--  1 root  wheel    1183 Apr  7  2016 embed.asy
-rw-r--r--  1 root  wheel    1122 Apr  8  2013 external.asy
-rw-r--r--  1 root  wheel   21459 Jun  7  2009 feynman.asy
-rw-r--r--  1 root  wheel   14311 May 28  2011 flowchart.asy
-rw-r--r--  1 root  wheel      35 Jul  5  2010 fontsize.asy
-rw-r--r--  1 root  wheel  320533 Mar  1  2020 geometry.asy
-rw-r--r--  1 root  wheel   63886 Apr 16  2017 graph.asy
-rw-r--r--  1 root  wheel   68543 Mar  3  2020 graph3.asy
-rw-r--r--  1 root  wheel     314 Jun  7  2009 graph_settings.asy
-rw-r--r--  1 root  wheel    7422 May 16  2010 graph_splinetype.asy
-rw-r--r--  1 root  wheel   13476 May 28  2011 grid3.asy
-rw-r--r--  1 root  wheel    3944 Aug 15  2009 interpolate.asy
-rw-r--r--  1 root  wheel     729 Aug 15  2009 labelpath.asy
-rw-r--r--  1 root  wheel    2465 Jun  9  2010 labelpath3.asy
-rw-r--r--  1 root  wheel      61 Jun  7  2009 latin1.asy
-rw-r--r--  1 root  wheel   24659 Apr 21  2014 lmfit.asy
-rw-r--r--  1 root  wheel    7302 Sep 29  2009 markers.asy
-rw-r--r--  1 root  wheel   11030 Apr  7  2016 math.asy
-rw-r--r--  1 root  wheel     253 Jun  7  2009 metapost.asy
-rw-r--r--  1 root  wheel      39 Jun  7  2009 nopapersize.ps
-rw-r--r--  1 root  wheel    3279 Jun 19  2011 obj.asy
-rw-r--r--  1 root  wheel   15192 Apr  6  2018 ode.asy
-rw-r--r--  1 root  wheel   14801 Mar  3  2020 palette.asy
-rw-r--r--  1 root  wheel    2615 Jun  7  2009 patterns.asy
-rw-r--r--  1 root  wheel    7193 Mar  1  2020 plain.asy
-rw-r--r--  1 root  wheel   16578 Feb 28  2019 plain_Label.asy
-rw-r--r--  1 root  wheel    1259 May 16  2010 plain_arcs.asy
-rw-r--r--  1 root  wheel   19561 Mar  1  2020 plain_arrows.asy
-rw-r--r--  1 root  wheel   21005 Apr  8  2013 plain_bounds.asy
-rw-r--r--  1 root  wheel    4128 Feb 28  2019 plain_boxes.asy
-rw-r--r--  1 root  wheel    3716 Feb 28  2019 plain_constants.asy
-rw-r--r--  1 root  wheel    2187 Jun  7  2009 plain_debugger.asy
-rw-r--r--  1 root  wheel    6292 Apr 21  2014 plain_filldraw.asy
-rw-r--r--  1 root  wheel    2552 Jun  7  2009 plain_margins.asy
-rw-r--r--  1 root  wheel   11320 Mar  1  2020 plain_markers.asy
-rw-r--r--  1 root  wheel    9309 Apr 21  2014 plain_paths.asy
-rw-r--r--  1 root  wheel    8661 Mar  1  2020 plain_pens.asy
-rw-r--r--  1 root  wheel   46927 Feb 28  2019 plain_picture.asy
-rw-r--r--  1 root  wheel    6285 Mar  1  2020 plain_prethree.asy
-rw-r--r--  1 root  wheel    5760 Feb 28  2019 plain_scaling.asy
-rw-r--r--  1 root  wheel    3992 Mar  1  2020 plain_shipout.asy
-rw-r--r--  1 root  wheel    6169 Mar  1  2020 plain_strings.asy
-rw-r--r--  1 root  wheel     358 Jun  7  2009 pstoedit.asy
-rw-r--r--  1 root  wheel    5003 Mar  1  2020 rational.asy
-rw-r--r--  1 root  wheel    9399 Mar  1  2020 rationalSimplex.asy
-rw-r--r--  1 root  wheel     657 Jun  7  2009 reload.js
-rw-r--r--  1 root  wheel    3430 Jun  7  2009 roundedpath.asy
drwxr-xr-x  2 root  wheel       4 Dec 18 08:04 shaders
-rw-r--r--  1 root  wheel    8290 Mar  1  2020 simplex.asy
-rw-r--r--  1 root  wheel     608 Jun  7  2009 size10.asy
-rw-r--r--  1 root  wheel     600 Jun  7  2009 size11.asy
-rw-r--r--  1 root  wheel   16138 Feb 28  2019 slide.asy
-rw-r--r--  1 root  wheel    2068 Jun  7  2009 slopefield.asy
-rw-r--r--  1 root  wheel   56037 Apr 16  2017 smoothcontour3.asy
-rw-r--r--  1 root  wheel   12035 Mar  3  2020 solids.asy
-rw-r--r--  1 root  wheel    7307 Jun  7  2009 stats.asy
-rw-r--r--  1 root  wheel   22971 Aug 15  2009 syzygy.asy
-rw-r--r--  1 root  wheel    2277 Jun  7  2009 texcolors.asy
-rw-r--r--  1 root  wheel   85787 Mar  3  2020 three.asy
-rw-r--r--  1 root  wheel   23791 Mar  3  2020 three_arrows.asy
-rw-r--r--  1 root  wheel    3728 Mar  3  2020 three_light.asy
-rw-r--r--  1 root  wheel    2764 Jun  7  2009 three_margins.asy
-rw-r--r--  1 root  wheel   71908 Mar 26  2020 three_surface.asy
-rw-r--r--  1 root  wheel    5879 Mar 26  2020 three_tube.asy
-rw-r--r--  1 root  wheel    1375 Aug 15  2009 tree.asy
-rw-r--r--  1 root  wheel    5797 May 12  2015 trembling.asy
-rw-r--r--  1 root  wheel    4991 Mar  3  2020 tube.asy
-rw-r--r--  1 root  wheel      51 Jun  7  2009 unicode.asy
-rw-r--r--  1 root  wheel      23 Mar 26  2020 version.asy
drwxr-xr-x  2 root  wheel       3 Dec 18 08:04 webgl
-rw-r--r--  1 root  wheel    4812 Jun  7  2009 x11colors.asy
olivares at cougar:~ $


It hangs in there

olivares at cougar:~/Downloads/kerTeX/Documents $ asy Pythagoras.asy

Best Regards && Thank you all for helping me


Antonio


More information about the freebsd-questions mailing list