Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 06:22 AM
Lee Ethridge
 
Posts: n/a
Default smbclient won't install on 3.6

I'm having trouble with smbclient on 3.6. It's running on a 200MHz
Pentium, so I've been trying to avoid compiling anything.

I ran into a minor dependency problem when installing the Samba package.
I solved one issue by installing the FreeBSD compatibility package,
but now when I try to invoke smbclient, I get:

smbclient: can't load library 'libncurses.so.10.0'

and I can't find that version anywhere.

Is it necessary to start working with source code at this point, or is
there a compiled version lurking somewhere that I haven't discovered yet?

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 06:22 AM
Bas Keur
 
Posts: n/a
Default Re: smbclient won't install on 3.6

> smbclient: can't load library 'libncurses.so.10.0'
> and I can't find that version anywhere.


I got this from a 3.6 box

$ ls -al /usr/lib/libncurses.so.10.0
-r--r--r-- 4 root bin 265898 Dec 25 13:12 /usr/lib/libncurses.so.10.0
$ file /usr/lib/libncurses.so.10.0
/usr/lib/libncurses.so.10.0: ELF 32-bit LSB shared object, Intel 80386,
version 1, not stripped
$ md5 /usr/lib/libncurses.so.10.0
MD5 (/usr/lib/libncurses.so.10.0) = 82e50ce7fad4867fd0696e75f8188782

You can download it from here
http://www.dmrt.net/libncurses.so.10.0
If you trust me

> Thanks!


Your welcome.

-Bas


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 06:22 AM
Lee Ethridge
 
Posts: n/a
Default Re: smbclient won't install on 3.6

Bas Keur wrote:
>>smbclient: can't load library 'libncurses.so.10.0'
>>and I can't find that version anywhere.

>
> I got this from a 3.6 box
>
> $ ls -al /usr/lib/libncurses.so.10.0
> -r--r--r-- 4 root bin 265898 Dec 25 13:12 /usr/lib/libncurses.so.10.0
> $ file /usr/lib/libncurses.so.10.0
> /usr/lib/libncurses.so.10.0: ELF 32-bit LSB shared object, Intel 80386,
> version 1, not stripped
> $ md5 /usr/lib/libncurses.so.10.0
> MD5 (/usr/lib/libncurses.so.10.0) = 82e50ce7fad4867fd0696e75f8188782
>
> You can download it from here
> http://www.dmrt.net/libncurses.so.10.0
> If you trust me


Thanks! I've got it. Now I just have to decide how paranoid I am.

I guess I should just bite the bullet, get the sources, and compile it,
but I'll have to find another computer to do it with. The hard drive is
dying on this one, and I don't think it's worth the cost of a new hard
drive. I've got a desktop machine that at least will stand up to the
rigors of compiling.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-16-2008, 06:22 AM
John McGrail
 
Posts: n/a
Default Re: smbclient won't install on 3.6

On 2005-01-25, Lee Ethridge <nospam@gkwpmcfjd.vpk> wrote:
>
> I guess I should just bite the bullet, get the sources, and compile it,
> but I'll have to find another computer to do it with.


I suspect your system is in an inconsistent state and you'll eventually
have other problems.

I had no troubles installing and running the samba package
(samba-2.2.10) included in the official CD after a normal 3.6 install.

I thought (but haven't checked lately) that /usr/lib/libncurses.{a,so}
came in the base install tarballs.

--
ratfood@food.skaterat.net
All foods should be removed to reply
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-16-2008, 06:22 AM
Lee Ethridge
 
Posts: n/a
Default Re: smbclient won't install on 3.6

John McGrail wrote:
> I suspect your system is in an inconsistent state and you'll eventually
> have other problems.
>
> I had no troubles installing and running the samba package
> (samba-2.2.10) included in the official CD after a normal 3.6 install.
>
> I thought (but haven't checked lately) that /usr/lib/libncurses.{a,so}
> came in the base install tarballs.


This system was installed via ftp using the mini CD. (The .iso that
boots the computer and loads OpenBSD over ftp.)
libncurses.so.9.0 is installed here. I installed the samba package from
the ftp site, and it had unresolved dependencies. The first dependency
problem was resolved by installing the FreeBSD compatibility stuff. The
second dependency problem is with the version of libncurses.
sambaclient wants libncurses.so.10.0.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-16-2008, 06:22 AM
John McGrail
 
Posts: n/a
Default Re: smbclient won't install on 3.6

On 2005-01-25, Lee Ethridge <nospam@gkwpmcfjd.vpk> wrote:
>
> This system was installed via ftp using the mini CD. (The .iso that
> boots the computer and loads OpenBSD over ftp.)
> libncurses.so.9.0 is installed here. I installed the samba package from
> the ftp site, and it had unresolved dependencies. The first dependency
> problem was resolved by installing the FreeBSD compatibility stuff. The
> second dependency problem is with the version of libncurses.
> sambaclient wants libncurses.so.10.0.
>

I still suspect you have inconsistencies. Perhaps you used 3.5 base
tarballs? I've never done an FTP install so you're out of my league.

I have libncurses.so.10.0 in my /usr/lib (installed via a 3.6 based CD built
in house with errata through 12/15/2004-ish). samba depends on the popt
package, but other than that should work in a correctly installed
base system without the need for recompile.

--
ratfood@food.skaterat.net
All foods should be removed to reply
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-16-2008, 06:22 AM
Lee Ethridge
 
Posts: n/a
Default Re: smbclient won't install on 3.6

John McGrail wrote:
> On 2005-01-25, Lee Ethridge <nospam@gkwpmcfjd.vpk> wrote:
>
>>This system was installed via ftp using the mini CD. (The .iso that
>>boots the computer and loads OpenBSD over ftp.)
>>libncurses.so.9.0 is installed here. I installed the samba package from
>>the ftp site, and it had unresolved dependencies. The first dependency
>>problem was resolved by installing the FreeBSD compatibility stuff. The
>>second dependency problem is with the version of libncurses.
>>sambaclient wants libncurses.so.10.0.
>>

>
> I still suspect you have inconsistencies. Perhaps you used 3.5 base
> tarballs? I've never done an FTP install so you're out of my league.
>
> I have libncurses.so.10.0 in my /usr/lib (installed via a 3.6 based CD built
> in house with errata through 12/15/2004-ish). samba depends on the popt
> package, but other than that should work in a correctly installed
> base system without the need for recompile.


Hmm. Maybe I made a typographical error when installing popt. If I
typed 3.5 instead of 3.6 at the critical moment...

I guess I need to remove everything I've installed today (samba, popt,
freebsd compatibility package) and try again. If it works, I'll
consider myself out of the woods, otherwise, I'll probably need to
rebuild from scratch.

Does that sound right to you?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-16-2008, 06:22 AM
John McGrail
 
Posts: n/a
Default Re: smbclient won't install on 3.6

>
> Hmm. Maybe I made a typographical error when installing popt. If I
> typed 3.5 instead of 3.6 at the critical moment...
>
> I guess I need to remove everything I've installed today (samba, popt,
> freebsd compatibility package) and try again. If it works, I'll
> consider myself out of the woods, otherwise, I'll probably need to
> rebuild from scratch.
>
> Does that sound right to you?


Except the 'when installing popt' part. I bet you really meant 'when
doing the base ftp install'. But again, I'm just guessing 'cause I've
never done ftp installs.

I'd either
a) remove all the packages and check the version of ncurses.so*
(however, I would _not_ expect a pkg_remove to change this)

b) pull down the 3.5 & 3.6 base tarballs and see which version of
ncurses is in them.

In either case, I'd probably reinstall from scratch. It takes less than
15 minutes from a full CD (when I don't have to muck with partitions).

--
ratfood@food.skaterat.net
All foods should be removed to reply
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-16-2008, 06:22 AM
Lee Ethridge
 
Posts: n/a
Default Re: smbclient won't install on 3.6

John McGrail wrote:
>>Hmm. Maybe I made a typographical error when installing popt. If I
>>typed 3.5 instead of 3.6 at the critical moment...
>>
>>I guess I need to remove everything I've installed today (samba, popt,
>>freebsd compatibility package) and try again. If it works, I'll
>>consider myself out of the woods, otherwise, I'll probably need to
>>rebuild from scratch.
>>
>>Does that sound right to you?

>
>
> Except the 'when installing popt' part. I bet you really meant 'when
> doing the base ftp install'. But again, I'm just guessing 'cause I've
> never done ftp installs.
>
> I'd either
> a) remove all the packages and check the version of ncurses.so*
> (however, I would _not_ expect a pkg_remove to change this)
>
> b) pull down the 3.5 & 3.6 base tarballs and see which version of
> ncurses is in them.
>
> In either case, I'd probably reinstall from scratch. It takes less than
> 15 minutes from a full CD (when I don't have to muck with partitions).


Ugh. I keep trying to make myself believe the libncurses.so.9.0 came
from some later mistake, but you're right. It had to be a mistake
during the base install.

So, I suppose I should try to make a CD instead of installing over ftp.
I'd buy a CD except that I'm not convinced I'm going to get along with
OpenBSD that well. I've tried it at least a couple of times before and
gave up. This last one was the best install yet, and it's biting the dust.

Any tips for building the CD, such as which data to choose, how to make
it bootable, or how to use it if it's not bootable would be appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-16-2008, 06:22 AM
Shane Almeida
 
Posts: n/a
Default Re: smbclient won't install on 3.6

On Tue, 25 Jan 2005 20:11:25 GMT, Lee Ethridge wrote:
> So, I suppose I should try to make a CD instead of installing over ftp.


If you have a partition big enough, make a local mirror of the 3.6 stuff
from your favorite ftp mirror. I like to use my /home partition and let
everything live in /home/ftp/pub/OpenBSD.

Backup anything important to this partition (stuff in /etc for example).
Then take bsd.rd and move it to /bsd (backup the original if you want) and
then reboot.

# cp /bsd /bsd.old
# cp /home/ftp/pub/OpenBSD/3.6/i386/bsd.rd /bsd
# reboot

When you boot your computer, you'll be taken to the installer. Choose i
for install, say yes to the question about using your entire disk, and
quit the disklabel part because you'll be using the same partitioning
scheme.

At the mount point configuration, setup mount points for everything
except /home. Let the installer format the other slices.

When it comes to choosing the installation media, choose d to install from
the disk. Select the partition where the sets are living (for example,
'h' in my case). For the pathname to the filesets, enter
ftp/pub/OpenBSD/3.6/i386 (remember, this is relative to the root of
partition you just specified). Choose whatever filesets you want, finish
the installation, and reboot.

When the machine comes up, login and mount /home in the right place. For
example, if 'h' was the slice, you'd do this:

# mount /dev/wd0h /home

After that, make sure you modify /etc/fstab to do this automatically at
boot.

This is how I upgrade from release to release. Start to finish, it takes
me about 5 minutes.


> I'd buy a CD except that I'm not convinced I'm going to get along with
> OpenBSD that well. I've tried it at least a couple of times before and
> gave up. This last one was the best install yet, and it's biting the dust.


Stick with it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645