[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling https://gnuwget.gitlab.io/wget2/wget2-latest.tar.gz into a
Re: Compiling https://gnuwget.gitlab.io/wget2/wget2-latest.tar.gz into a local path/dir to run?
Mon, 13 Mar 2023 07:05:01 -0700
On Sat, Mar 11, 2023 at 10:34:35AM -0800, Ant wrote:
> > > In my updated 64-bit Debian bullseye OS, I followed
> > > https://gitlab.com/gnuwget/wget2's instructions on downloading and
> > > building from https://gnuwget.gitlab.io/wget2/wget2-latest.tar.gz.
> > > However, I didn't want to use its "sudo make install" since I didn't
> > > want to install to clean Debian globally. I just wanted to keep it local
> > > in my account. I moved my ~/Downloads/wget2-2.0.1/src/wget2 into ~/bin/,
> > > and tried to run wget2 but it gave me this error:
> > >
> > > ./wget2: error: '/home/ant/bin/.libs/wget2' does not exist
> > >
> > > It seems to depend on other files. How can I compile and run for my local
> > > account only?
> > >
> > > Thank you for reading and hopefully answering soon. :)
> > The `sudo` only needs to be done because the default install directory
> > belongs to root.
> > You can set the default install directory with the --prefix=<directory>
> > ./configure option. If you have write permissions to that directory, you
> > don't need sudo.
> > If you build a dynamic executable, you need to tell your system/loader where
> > to find those libraries. On linux you normally can add the library directory
> > to a file in `/etc/ld.so.conf.d/`. Use `sudo ldconfig` to update caches.
> > But maybe your library path is already known, then you just have to `sudo
> > ldconfig` to update the loader cache.
> > The details may differ on your system, but this should point you into the
> > right direction :)
> > Regards, Tim
> Thanks. I recompiled with ./configure --prefix=/home/ant/bin/wget2 and
> ran "make install" (no sudo) into my ~/bin/wget2. Now, I see include and lib
> subdirectories. Are those required to have?
Dang it. I deleted my sources and got to keep only my /home/ant/bin/wget2.0.1:
/home/ant/bin/wget2.0.1/bin/wget2: error while loading shared libraries:
libwget.so.1: cannot open shared object file: No such file or directory
"He [Jesus] is before all things, and in him all things hold together."
--Colossians 1:17. Slammy shorter week begins after a somewhat quiet Sat. &
losing Z due 2 1 hr. loss & Book of Demons game 2 make overnite 4? hrs.
Overrated EEAAO won a lot, but good for the people in it! <2" rain with leaks,
gatherings, March Madnesses, taxes, long trips, etc. soon. :(
Note: A fixed width font (Courier, Monospace, etc.) is required to see this
/\___/\ Phil./Ant(Dude) @ firstname.lastname@example.org / email@example.com
/ /\ /\ \ http://aqfl.net & http://antfarm.home.dhs.org
| |o o| |
\ _ / Please kindly use Ant nickname & URL/link if crediting.